You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was noticed that we aren't normalizing all the queries properly. Specifically for a query like select a, b from t group by 1, field(a,1,2,3) order by 1 asc, field(a,1,2,3), we should be converting all the literal values in the field function call to bind variables, but we aren't doing that.
Reproduction Steps
Start a vitess cluster and execute the query listed. See the query plans in vtgate dashboard.
Binary Version
main and all other releases
Operating System and Environment details
-
Log Fragments
No response
The text was updated successfully, but these errors were encountered:
Overview of the Issue
It was noticed that we aren't normalizing all the queries properly. Specifically for a query like
select a, b from t group by 1, field(a,1,2,3) order by 1 asc, field(a,1,2,3)
, we should be converting all the literal values in thefield
function call to bind variables, but we aren't doing that.Reproduction Steps
Start a vitess cluster and execute the query listed. See the query plans in vtgate dashboard.
Binary Version
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: