Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support translating Spark SQL to Calcite RelNode #339

Closed
wants to merge 1 commit into from

Conversation

ebyhr
Copy link
Contributor

@ebyhr ebyhr commented Jan 11, 2023

Relates to #330

I didn't write design docs as the approach is similar to Trino module and nothing special. Let me know if such documentation is due. The main work is SparkSqlAstVisitor. The class requires some cleanup and overriding more methods for throwing exceptions in unsupported syntax. Some classes (e.g. OperatorTransformer) were copied from Trino module.

@ebyhr ebyhr force-pushed the ebi/spark-to-rel-v2 branch 12 times, most recently from 511bbd1 to b2a93fe Compare January 13, 2023 08:23
@ebyhr ebyhr force-pushed the ebi/spark-to-rel-v2 branch from b2a93fe to 5969c9c Compare January 18, 2023 08:49
@ebyhr ebyhr requested a review from wmoustafa January 19, 2023 02:03
@wmoustafa
Copy link
Contributor

wmoustafa commented Jan 19, 2023

The APIs that this PR touches are undergoing some changes. They should land soon. Let us check this in once the APIs are checked in. cc: @aastha25 @ljfgem @yiqiangin

@ebyhr
Copy link
Contributor Author

ebyhr commented Apr 20, 2023

I heard the above refactorign is still in progress and ETA is the end of June. I will update this PR once it's complete.

@jzmq
Copy link

jzmq commented Jun 14, 2023

Will this PR help me solve the conversion from SparkSQL to HiveSQL?

@ebyhr ebyhr closed this Aug 30, 2023
@ebyhr ebyhr reopened this Mar 31, 2024
@ebyhr ebyhr force-pushed the ebi/spark-to-rel-v2 branch 3 times, most recently from 27d56fb to 085d221 Compare March 31, 2024 13:43
@ebyhr ebyhr marked this pull request as ready for review March 31, 2024 13:49
@ebyhr ebyhr force-pushed the ebi/spark-to-rel-v2 branch 4 times, most recently from b7adde3 to 4e58449 Compare April 1, 2024 05:25
@ebyhr ebyhr force-pushed the ebi/spark-to-rel-v2 branch 2 times, most recently from 6fd19aa to 59aeec7 Compare April 1, 2024 05:43
@ebyhr ebyhr force-pushed the ebi/spark-to-rel-v2 branch from 59aeec7 to 7507454 Compare April 1, 2024 06:06
@ebyhr ebyhr closed this Apr 3, 2024
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.

3 participants