We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I execute the following SQL statement.
select a.* from tablea a qualify row_number() over (partition by a.id order by a.date desc) = 1;
I will receive an exception message.
ERROR 1064 (HY000): Getting syntax error. Detail message: Can't support result other than column..
Adjust the statement to select a.id,a.name from tablea a qualify row_number() over (partition by a.id order by a.date desc) = 1;
select a.id,a.name from tablea a qualify row_number() over (partition by a.id order by a.date desc) = 1;
The statement can run normally.
The text was updated successfully, but these errors were encountered:
good enhancement
Sorry, something went wrong.
No branches or pull requests
When I execute the following SQL statement.
select a.* from tablea a qualify row_number() over (partition by a.id order by a.date desc) = 1;
I will receive an exception message.
ERROR 1064 (HY000): Getting syntax error. Detail message: Can't support result other than column..
Adjust the statement to
select a.id,a.name from tablea a qualify row_number() over (partition by a.id order by a.date desc) = 1;
The statement can run normally.
The text was updated successfully, but these errors were encountered: