You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/01/14 12:39:56 UTC

[GitHub] [hive] kasakrisz opened a new pull request #1869: HIVE-24635: Support Values clause as operand of set operation

kasakrisz opened a new pull request #1869:
URL: https://github.com/apache/hive/pull/1869


   ### What changes were proposed in this pull request?
   1. Move the `valuesSource` rule alternative from `queryStatementExpression` parser rule to `atomSelectStatement`
   2. Remove `valuesClause` rule alternative from `regularBody` since it is covered through 
   `selectStatement`->`atomSelectStatement`->`valuesSource`->`valuesClause`
   
   
   ### Why are the changes needed?
   Enable queries which has values clause as operand of set operation. See jira or `values.q` for example
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. Users can write queries which has values clause as operand of set operation. This feature was not enabled in the past and Hive thrown exception such cases. Existing queries are not affected.
   
   ### How was this patch tested?
   ```
   mvn test -Dtest=TestValuesClause -pl parser
   mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=values.q -pl itests/qtest -Pitests
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] kasakrisz merged pull request #1869: HIVE-24635: Support Values clause as operand of set operation

Posted by GitBox <gi...@apache.org>.
kasakrisz merged pull request #1869:
URL: https://github.com/apache/hive/pull/1869


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org