-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add document for CTE #6220
Add document for CTE #6220
Conversation
/label WIP |
@wjhuang2016: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This PR is not ready to review now. |
@wjhuang2016 Please involve a technical review(s) and add it to TOC.md. Thanks~ |
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
@xiongjiwei: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
sql-statements/sql-statement-with.md
Outdated
## MySQL 兼容性 | ||
|
||
* 在严格模式下,当递归部分算出的数据长度超过初始部分的数据长度时,TiDB 会返回警告,而 MySQL 会返回错误。在非严格模式下,TiDB 与 MySQL 行为一致。 | ||
* 递归 CTE 所使用的数据类型由初始部分决定。初始部分的类型在某些情况(例如函数)下并不与 MySQL 完全一致。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wjhuang2016 关于 “初始部分的类型在某些情况(例如函数)下并不与 MySQL 完全一致。”,这里请问可以再具体说下吗“某些情况”是哪些情况吗?只有函数是我们已知的不一致的情况吗?这种不一致是否会对计算结果产生影响呢?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些情况并不能列举完,会对计算结果有影响。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不一致的情况可以再提供一个例子吗?当无法直接说明是哪些情况的时候,能够多给几个例子对用户的帮助也是极大的。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
暂时没想到
Co-authored-by: Grace Cai <qqzczy@126.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: c29958d
|
/merge |
/remove-translation doing |
Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com
Close #6216
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?