-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.18][#13956] YCQL: Add error message for GROUP BY clause
Summary: Original commit: 80def06 / D33977 GROUP BY clause is not supported by YCQL, but is allowed in the parser currently, and does not have any effect on the SELECT query. This revision adds an error message when using GROUP BY clause and also an autoflag ycql_suppress_group_by_error to suppress the error in case of any compatibility issues. Promoting the autoflag makes YCQLsh start throwing the error. Jira: DB-3446 Test Plan: ``` ./yb_build.sh --java-test org.yb.cql.TestCreateTable#testCreateTableWithColumnNamedGroup ./yb_build.sh --java-test org.yb.cql.TestSelect#testGroupBy ``` Reviewers: skumar, stiwary, loginov Reviewed By: skumar Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D34157
- Loading branch information
1 parent
a3c9db6
commit 7eb7bf0
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters