spark icon indicating copy to clipboard operation
spark copied to clipboard

[SPARK-49162][SQL] Push down date_trunc function

Open IvanK-db opened this issue 6 months ago • 3 comments

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

IvanK-db avatar Aug 08 '24 12:08 IvanK-db