deniskuzZ commented on code in PR #6990:
URL: https://github.com/apache/hive/pull/6990#discussion_r4738286542


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########


Review Comment:
   Not blocking; it can go in a follow-up JIRA.
   
   When nothing is pushed, nothing is registered for conflict detection. 
`setConflictDetectionFilter` ORs together the filters of every scan of the 
table, so if another scan of the same table registers `a = 1`, the final 
conflict filter is narrower than what this scan read. 
   This already happens for scans with no WHERE clause; this PR adds the OR 
case. 
   A follow-up could register an always-true filter when a scan pushes nothing, 
and could push a widened filter instead of nothing (replace each virtual-column 
comparison with TRUE and simplify).



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