uros-b opened a new pull request, #57595: URL: https://github.com/apache/spark/pull/57595
### What changes were proposed in this pull request? Simplifies a redundant boolean ternary in `visitDeclareCursorStatement`: `if (ctx.INSENSITIVE() != null) false else true` becomes `ctx.INSENSITIVE() == null`. ### Why are the changes needed? The ternary maps a null check to a negated boolean; the direct comparison has the identical truth table and reads more clearly (asensitive is true exactly when the INSENSITIVE token is absent). ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Behavior-preserving one-line simplification; existing parser tests cover it. No new tests needed. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
