spark
spark copied to clipboard
[SPARK-49162][SQL] Push down date_trunc function
What changes were proposed in this pull request?
This PR:
- Adds support for DATE_TRUNC in V2 optimization pushdown
- Consumes this pushdown for Postgres & H2 Connectors
Why are the changes needed?
Performance improvements.
Does this PR introduce any user-facing change?
No
How was this patch tested?
New integration test in PostgresIntegrationSuite.
Was this patch authored or co-authored using generative AI tooling?
No