kasakrisz opened a new pull request, #3045: URL: https://github.com/apache/hive/pull/3045
### What changes were proposed in this pull request? Introduce parser token and rule for `default` keyword. Use the Token in SemanticAnalyzers when replacing `default` keyword with default constraint values. ### Why are the changes needed? Prior this patch * the `default` keyword was treated as an identifier. * and the lookup in the sql text was done by exact match of the string `default` in some cases. ### Does this PR introduce _any_ user-facing change? Yes, see jira for example. ### How was this patch tested? ``` mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=insert_into_default_keyword.q,insert_into_default_keyword_2.q -pl itests/qtest -Pitests mvn test -Dtest=TestParseDefault -pl parser ``` -- 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]
