-
Notifications
You must be signed in to change notification settings - Fork 752
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(planner): support settings set sql_dialect #7175
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Need a test file in logictest. For example:
|
4b3386e
to
03e732b
Compare
bcc0301
to
9a0836a
Compare
1c69081
to
11c6c0a
Compare
We should provide a default SQL dialect for databend. Before persisting any of the SQL query, the SQL text must be normalized into default dialect. Otherwise we will encounter bugs if user is creating a view with MySQL dialect but query with default dialect. For example, user is creating a view with |
the default SQL dialect is |
@leiysky the subquery of view is formatted as |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Support settings set
sql_dialect
Fixes #7131