okumin opened a new pull request, #5394: URL: https://github.com/apache/hive/pull/5394
### What changes were proposed in this pull request? Put some reserved words in the list of non-reserved words based on the ANSI standard. I did the following. 1. [Write unit tests using the existing parser](https://github.com/apache/hive/commit/40a2b31c9eeb602d773483bf9bab5581794c4799) 2. Pick up keywords that are not reserved in the ANSI standard based on the following sources - https://www.postgresql.org/docs/9.5/sql-keywords-appendix.html - SQL:2023 3. [Add as many keywords in the non-reserved list as possible](https://github.com/apache/hive/commit/67ec3600957ecc038aadd6c81c3d9ec186757715) Some keywords are still reserved because of the convenience of the Hive parser. I added comments in those cases. ### Why are the changes needed? We found extra reserved keywords have been added since Hive 2 while we were testing Hive 4. I guess most of them can be reserved. ### Does this PR introduce _any_ user-facing change? Users can use the changed words without adding quotes. ### Is the change a dependency upgrade? No. ### How was this patch tested? Unit tests -- 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]
