LuciferYang commented on PR #55579:
URL: https://github.com/apache/spark/pull/55579#issuecomment-6738759238

   Thanks for the review. All three findings are addressed in 157bad16b60, and 
two of the decision challenges change code.
   
   - Delta-based row-level reads: a built-in file scan now gets no group filter 
for a delta-based operation either, as on master. "no group filter for a 
row-level operation over a built-in file scan" covers `ReplaceData` and 
`WriteDelta`. No in-tree table pairs `SupportsDelta` with these scans, but the 
guard costs nothing and closes the null-directory case you describe, which 
holds for a multi-column group filter too.
   - DPP from a DSv2 dimension with a row-selecting pushdown: the new 
`PartitionPruning` case now requires `onlyRowWisePushdowns`, as you suggested. 
"DPP for a dimension whose filter a connector scan took in fully" checks that 
the same dimension gives no DPP filter once its scan relation is marked as not 
row-wise.
   - Union branches and scalar subqueries run twice: I'd keep both trade-offs 
as the description lists them, since both inputs now prune directories that 
master reads in full and the results are the same.
   - Shuffle join whose dimension filter fails the stricter bloom-filter gate: 
this is V1 parity, as you note, and the gate is in `InjectRuntimeFilter`, which 
this PR does not change. The description now says that such a join gets no 
runtime filter, where master could add a bloom filter for a V2 file fact.


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