-
Notifications
You must be signed in to change notification settings - Fork 489
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
Support CTEs (WITH statement) #289
Comments
@tlightsky Thank you for the feature request. CTEs are currently on the roadmap. |
@morgo thanks for reply |
i have do some work about adding CTEs (WITH statement), |
@tlightsky Common Table Expression is a huge feature, we need a detailed discuss and design document about it. |
I've created a github project to trace the progress: https://github.com/pingcap/tidb/projects/21 |
@zz-jason Currently, my plan is to parse it to ast tree(without recursive), Also noticed OceanBase support non-recursive CTEs by only expanding them too, |
Is this still on the roadmap? I don't need CTE support in TiDB, just in the parser. |
yes, compatibility with mysql 8 is always desirable. (you may also want to follow pingcap/tidb#17472 for the overall roadmap of CTE support in TiDB, which drives the parser implementation.) |
@kyleconroy Oh, seems you are using this parser as a library in a project. May I know your use scenarios? |
Supported by #1207 |
Feature Request
any plan to support with clause from SQL:1999 and supported by MySQL 8.0
https://dev.mysql.com/doc/refman/8.0/en/with.html#common-table-expressions-syntax
The text was updated successfully, but these errors were encountered: