Skip to content

Conversation

alancai98
Copy link
Member

@alancai98 alancai98 commented Jun 13, 2025

Issue #, if available:
None

Description of changes:

  • Adds EXCLUDE transpilation for Trino

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@alancai98 alancai98 self-assigned this Jun 13, 2025
@alancai98 alancai98 marked this pull request as draft June 13, 2025 23:04
@alancai98 alancai98 force-pushed the feat-spark-exclude branch from 7bf2ade to a133154 Compare June 16, 2025 17:49
@alancai98 alancai98 force-pushed the feat-trino-exclude branch from 518b35a to 5c26e34 Compare June 16, 2025 17:49
@alancai98 alancai98 force-pushed the feat-spark-exclude branch from 0af3a6f to 133be53 Compare June 17, 2025 21:23
@alancai98 alancai98 force-pushed the feat-trino-exclude branch from 5c26e34 to 76751bf Compare June 17, 2025 21:38
@@ -0,0 +1,73 @@
This document goes over one of the more complicated rewrites for PartiQL's `EXCLUDE` to Trino.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self-review: transpilation of EXCLUDE to Trino is mostly the same as what we did for SparkSQL. Major difference is how to re-create the structs with excluded fields, which requires using the CAST(ROW(...) AS ROW()) syntax.

@alancai98 alancai98 changed the title [wip] feat: EXCLUDE transpilation to Trino feat: EXCLUDE transpilation to Trino Jun 17, 2025
@alancai98 alancai98 marked this pull request as ready for review June 17, 2025 21:43
@alancai98 alancai98 requested a review from jpschorr June 17, 2025 21:45
@alancai98 alancai98 force-pushed the feat-spark-exclude branch from 133be53 to 0caef35 Compare June 25, 2025 20:51
@alancai98 alancai98 force-pushed the feat-trino-exclude branch from 76751bf to e1e4815 Compare June 25, 2025 20:52
Base automatically changed from feat-spark-exclude to main June 25, 2025 20:59
@alancai98 alancai98 force-pushed the feat-trino-exclude branch from e1e4815 to a330d17 Compare June 25, 2025 21:01
@@ -0,0 +1,73 @@
This document goes over one of the more complicated rewrites for PartiQL's `EXCLUDE` to Trino.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice write-up!

@alancai98 alancai98 merged commit d6f0ddc into main Jun 25, 2025
2 checks passed
@alancai98 alancai98 deleted the feat-trino-exclude branch June 25, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants