-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-28987: Iceberg: A faulty query predicate can compromise transaction isolation #5839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@simhadri-g, do you recall we have you combined using |
@kasakrisz, @zabetak isn't it possible to find a top level table scan operator for a specific table based on DAG plan? |
Yes, this was the same logic spark used to build the conflict detection filter as well. |
Thanks @simhadri-g , I have no idea how Spark manages/constructs the
In the current PR, since I don't have any better ideas how to identify root TS and construct the final |
ql/src/java/org/apache/hadoop/hive/ql/session/SessionStateUtil.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 pending tests
|
What changes were proposed in this pull request?
Enable conflict detection filter only when plan contains 1 TableScan Operator for a table
Why are the changes needed?
BugFix
Does this PR introduce any user-facing change?
No
How was this patch tested?
Cluster + locally
https://issues.apache.org/jira/secure/attachment/13076866/iceberg_atomic_merge_update.q