-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 recursive common table expression (CTE) #6824
Comments
Support for custom function. |
@gang0713 For "custom recursive query", do you mean the common table expression? This is on our roadmap now. |
The next version can support? About which version support? |
@gang0713 CTE is a very big feature, sorry that we can not deliver this feature in the next version, but we'll try our best to develop it. |
Want to support statements commonly used functions, such as MAX and MIN |
Now do you have a support mysql some commonly used function of the plan? Like MAX, recursive functions, etc. We want to cut into TIDB, but some involves data access, use recursion, also some kinds of statistics report to process. |
has any way doing recursive query?
cte not supported.
error: Unknown column '_id' in 'where clause'
|
@u0x01 stored procedures and functions are unsupported. They are also not on the immediate roadmap. CTEs will be added soon. Please be patient :-) |
@morgo How about the progress for supporting CTEs?Up to Now. |
We are currently working on stabilizing 3.0. CTEs are planned for version 3.1. |
The link from #6824 (comment) https://pingcap.com/docs/sql/mysql-compatibility/ should be https://pingcap.com/docs/v3.0/reference/mysql-compatibility/ or a more generic url. Is there still no plan to add "Stored procedures and functions or User-defined functions " into tidb? |
Is there any idea when this will be available? I really like tidb but I can't use it without recursive CTE support. |
There is an initial design ready for non-recursive CTEs - I expect it will ready for TiDB 5.0. We do not have a current ETA for recursive CTEs yet. I expect the design will follow shortly after non-recursive. |
I see ok thanks. |
Traced by #17472 |
Mysql in the business use of custom recursive query, TIDB currently does not support, if change to the business side, the efficiency is too low, can you provide support recursive functions. This requirement is very common.
Hope to be able to solve our problems as soon as possible to facilitate more people to access TIDB。
The text was updated successfully, but these errors were encountered: