HyukjinKwon commented on PR #60129:
URL: https://github.com/apache/spark/pull/60129#issuecomment-6675093340

   Thank you, @dongjoon-hyun. 91288b7 addresses items 12-19; the replies are in 
the threads.
   
   - The test of the leading V2 predicates builds an ANSI cast, so it passes in 
the non-ANSI build too.
   - A `SupportsPushDownFilters` builder now gets the pushable filters that all 
the reads apply, wherever they are, since its filters cannot fail, so 
`where("ts > current_timestamp() - INTERVAL 1 HOUR AND tenant = 'x'")` pushes 
`tenant = 'x'`. The other builders keep the leading prefix, and the builders 
are matched in the order of `PushDownUtils`.
   - As-of and lateral joins count as conditions, and the filters above a 
projection of `current_timestamp()` are not pushed down when `PruneFilters` is 
excluded either.
   - The relation labels its filters `FiltersOfScanBuilder`, 
`InMemoryBaseTable.passes` uses `StructFilters.filterToExpression`, and 
`V2FilterTable` moved after `PruningContinuousTable`.
   
   The pushdown, Python streaming, streaming, continuous and DSv2 suites pass 
locally.
   


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