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

feat: Clean up mixed SQL/Cypher queries generated by Spark. [translator] #826

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

michael-simons
Copy link
Collaborator

This adds a new translator implementation, that by default is always running before the default implementation. It will check if a query looks like something that Spark did.

If this is the case, the idea is to check whether the inner query is a already a cypher query. If that’s the case, no further translation will be attempted.

This adds a new translator implementation, that by default is always running before the default implementation. It will check if a query looks like something that Spark did.

If this is the case, the idea is to check whether the inner query is a already a cypher query. If that’s the case, no further translation will be attempted.
@michael-simons
Copy link
Collaborator Author

Added you @fbiville for visibility. Let's merge this and evolve as we / you folks go. I think this might be quite useful in the future.
I stopped checking for inner SQL, instead I do check for Cypher btw.

  • Actually represents more what I want to express
  • Easier wrt dependencies if I want to have separate modules for both the default implementation and this one

@michael-simons michael-simons merged commit b0416d8 into main Jan 20, 2025
8 checks passed
@michael-simons michael-simons deleted the feat/spark-unwrap branch January 20, 2025 11:01
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