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/09/10 09:47:02 UTC

[GitHub] [hive] kasakrisz opened a new pull request #2632: HIVE-25512: Merge statement does not enforce check constraints

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


   ### What changes were proposed in this pull request?
   Generate constraint check Filter operator into physical plan for merge statements
   
   ### Why are the changes needed?
   CBO can not enforce constraint check in case of merge statements
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. When running some merge statements an error message will appear if a constraint would be violated.
   
   ### How was this patch tested?
   ```
   mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestNegativeLlapLocalCliDriver -Dqfile=check_constraint_merge_update.q -pl itests/qtest -Pitests
   mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=check_constraint.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.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

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 #2632: HIVE-25512: Merge statement does not enforce check constraints

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


   


-- 
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: gitbox-unsubscribe@hive.apache.org

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