miland-db opened a new pull request, #49694: URL: https://github.com/apache/spark/pull/49694
### What changes were proposed in this pull request? In this PR we are fixing grammar for `else if` block. Instead of current `ELSE IF` parser rule, new rule is `ELSEIF` according to SQL Standard and [Ref Spec](https://docs.google.com/document/d/1uFv2VoqDoOH2k6HfgdkBYxp-Ou7Qi721eexNW6IYWwk/edit?tab=t.0#heading=h.4cz970y1mk93) ### Why are the changes needed? This changes are needed to follow grammar of the SQL Standard. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Updated tests containing `IF ELSE` statement and all other existing tests ensuring things are working as before. ### Was this patch authored or co-authored using generative AI tooling? No. -- 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]
