-
Notifications
You must be signed in to change notification settings - Fork 41
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: add support of Trino (AWS Athena) dialect #272
Comments
@roykoand , hi! thanks for opening an issue, I'm on conference this week. I can take a look on dialect next week. As I understand in first priority samples of dialect, that are provided here - datacontract/datacontract-cli#332 ? |
@xnuinside Yes, this is correct. Very much appreciated! Thanks in advance! |
@roykoand Can I ask, why you choose for your project simple-ddl-parser, but not sqlglot for example? Historically was the reasons, why I created this library, but now as I see, sqlglot already supports different dialects very well & better then my parser. Is it because of output format? I’m trying to understand why peoples still use & staring use my parser. I’m thinking about to add sqlglot as extension dependency in my parser like to use it as parser engine, but sabe same output structure |
@xnuinside this is a great question! I am not an original developer who introduced this dependency, I am not more than a person who just did a feature request. |
Author of datacontract-cli here. We discussed using sqlglot for exporting to different formats, but we would have the need to override the data type if a server-specific data type is defined in a data contract. Seems a little complicated. |
@roykoand @jochenchrist added output for Athena in 1.6.0 and added your case to test cases - https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/dialects/test_athena.py#L6. Please, use: https://pypi.org/project/simple-ddl-parser/1.6.0/. @jochenchrist thanks for answer :) I will close this issue - if needed anything else, feel free to open new one. |
@xnuinside Thank you so much for adding Athena (Trino) dialect! Excited to try it out! |
No description provided.
The text was updated successfully, but these errors were encountered: