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: [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]

Reply via email to