-
Notifications
You must be signed in to change notification settings - Fork 188
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
Feature: Consider supporting flink sql #451
Comments
Yes, it is in the roadmap, but as far as I know no one is actively working on it at the moment. Do you have a use case in mind? |
Since Flink supports streaming, you might check out Coral's incremental view maintenance features as well. It complements streaming on the batch side. |
Thank you for your answer. I will try this part of the work myself first. If there is any progress, I will be happy to contribute PR. |
Are you thinking of Flink SQL as a dialect on the input or output side? (or which one will you focus on)? |
Strictly speaking, I don’t think this is a conversion between dialects. I think it is a conversion between models. If it is just a conversion between dialects, why not use ANTLR to extract key information to spell SQL (if you do this, obviously this is a trap) |
I have tried the conversion of spark sql before, and I am still learning, and I am more concerned about spark sql and flink sql |
Sorry should have clarified my question. When you said you would consider implementing Flink SQL integration with Coral, did you refer to integration on the input side (Flink SQL to Coral) or the output side (Coral to Flink SQL)? |
sink |
As in (Coral to Flink SQL)? |
yes |
What I thought before was that maybe it would be easier to use a standard SQL method to convert to any other SQL dialect. But obviously your goals are much bigger |
I hope I can make a contribution to the project in the future, because this is what I wanted to do before |
Thanks @caicancai. Happy to collaborate. |
Thank you for your patient reply |
@caicancai thank you for picking this line of work. Please refer to the provided sample pseudo-code below to structure your code:
In this code:
By following this structure, you can effectively model your code for converting Coral IR to Flink SQL. |
Re-opening since Flink is not yet supported. |
@aastha25 Thanks for the tip, I'll try it |
I'm going to start trying this part out |
I want to ask if sink is fully supported by spark sql. |
@wmoustafa Sorry, I was a little busy a while ago, I will start to try now. |
Whether to consider supporting flink sql
The text was updated successfully, but these errors were encountered: