We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since SqlFluff is generating an abstract syntax tree from the input, could it be used to translate from one dialect to another?
I'd like to be able to convert SQL syntax from one dialect (e.g. SQLite) to another (e.g. Postgres).
Some features may not be available in the target dialect, and that's ok, as long as it's clear when a statement couldn't be translated.
Partial translations would be ok too, again, making it clear that statement should not be used as-is.
all
The text was updated successfully, but these errors were encountered:
I think we probably wouldn’t attempt it given that is hard to add and covered well by sqlglot already. Check it out: https://github.com/tobymao/sqlglot?tab=readme-ov-file#formatting-and-transpiling
Sorry, something went wrong.
'kay, thanks!
No branches or pull requests
Search before asking
Description
Since SqlFluff is generating an abstract syntax tree from the input, could it be used to translate from one dialect to another?
Use case
I'd like to be able to convert SQL syntax from one dialect (e.g. SQLite) to another (e.g. Postgres).
Some features may not be available in the target dialect, and that's ok, as long as it's clear when a statement couldn't be translated.
Partial translations would be ok too, again, making it clear that statement should not be used as-is.
Dialect
all
Are you willing to work on and submit a PR to address the issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: