-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
window function: should check fuction's arguments firstly. #11008
Comments
I will look into this issue. |
Hi @SunRunAway |
Hi, @gaoxingliang |
@SunRunAway I test with latest master branch, it shows the correct error message (if you mean the index should be > 0, that's NTH_VALUE(fieldA, -1) , -1 is illegal):
|
Hi, your test case is different from what this issue describes which a window is depends on another. |
@SunRunAway Okay. now I can reproduce it and I will look more into this. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
ERROR 1210 (HY000): Incorrect arguments to nth_value
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: