-
Notifications
You must be signed in to change notification settings - Fork 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
Bug Report: v14 rewriting query with group by and results in syntax error #12798
Comments
jbursey
added
Needs Triage
This issue needs to be correctly labelled and triaged
Type: Bug
labels
Mar 31, 2023
jbursey
changed the title
Bug Report:
Bug Report: v14 rewriting query with group by and results in syntax error
Mar 31, 2023
rohit-nayak-ps
added
Component: Query Serving
and removed
Needs Triage
This issue needs to be correctly labelled and triaged
labels
Apr 1, 2023
systay
added a commit
to planetscale/vitess
that referenced
this issue
Apr 3, 2023
Signed-off-by: Andres Taylor <andres@planetscale.com>
4 tasks
frouioui
pushed a commit
to planetscale/vitess
that referenced
this issue
Apr 4, 2023
…tessio#12810) * fixes vitessio#12798 Signed-off-by: Andres Taylor <andres@planetscale.com> * [planbuilder bugfix] don't push down predicates that need to be aggregated at the vtgate level Signed-off-by: Andres Taylor <andres@planetscale.com> --------- Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
frouioui
pushed a commit
to planetscale/vitess
that referenced
this issue
Apr 4, 2023
…tessio#12810) * fixes vitessio#12798 Signed-off-by: Andres Taylor <andres@planetscale.com> * [planbuilder bugfix] don't push down predicates that need to be aggregated at the vtgate level Signed-off-by: Andres Taylor <andres@planetscale.com> --------- Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
frouioui
pushed a commit
to planetscale/vitess
that referenced
this issue
Apr 4, 2023
…tessio#12810) * fixes vitessio#12798 Signed-off-by: Andres Taylor <andres@planetscale.com> * [planbuilder bugfix] don't push down predicates that need to be aggregated at the vtgate level Signed-off-by: Andres Taylor <andres@planetscale.com> --------- Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
systay
added a commit
that referenced
this issue
Apr 4, 2023
…2810) (#12825) * fixes #12798 * [planbuilder bugfix] don't push down predicates that need to be aggregated at the vtgate level --------- Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Co-authored-by: Andres Taylor <andres@planetscale.com>
frouioui
added a commit
that referenced
this issue
Apr 5, 2023
…2810) (#12824) * fixes #12798 * [planbuilder bugfix] don't push down predicates that need to be aggregated at the vtgate level --------- Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Co-authored-by: Andres Taylor <andres@planetscale.com>
harshit-gangal
pushed a commit
that referenced
this issue
Apr 11, 2023
…2810) (#12823) * fixes #12798 * [planbuilder bugfix] don't push down predicates that need to be aggregated at the vtgate level --------- Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Co-authored-by: Andres Taylor <andres@planetscale.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview of the Issue
We are in the process of upgrading from Vitess 5 to Vitess 14 and have a query encountering a failure due to what we believe is a rewritng bug. This query worked without issue in Vitess5, but now does fails with an invalid use of
GROUP BY
.Relevant slack thread: https://vitess.slack.com/archives/C0PQY0PTK/p1680121160038269
Reproduction Steps
Binary Version
vttablet
/opt/vitess/bin/vttablet --version Version: 14.0.4-SNAPSHOT (Git revision 240f947fa9d32cc05c0e074d4693d007471aa8d4 branch 'HEAD') built on Mon Mar 27 16:17:19 UTC 2023 by root@buildkitsandbox using go1.18.7 linux/amd64
vtgate
Operating System and Environment details
os
kernel
arch
Log Fragments
Full error
The text was updated successfully, but these errors were encountered: