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
select queries, slow_queries from mysql where time > now() - 1m
ERR: error parsing query: found QUERIES, expected identifier, string, number, bool at line 1, char 8
Using double quoted "queries" returns valid data.
The text was updated successfully, but these errors were encountered:
The following query was fixed previously:
SELECT 'value' FROM cpu
This ended up hitting the `buildExprIterator()` code path and was
handled properly. But this query:
SELECT 'value', value FROM cpu
This took a different code path that would trigger a panic because it
triggered a panic instead of an error condition. This code path has now
been modified to trigger an error instead of a panic.
Fixes#6248.
The following query was fixed previously:
SELECT 'value' FROM cpu
This ended up hitting the `buildExprIterator()` code path and was
handled properly. But this query:
SELECT 'value', value FROM cpu
This took a different code path that would trigger a panic because it
triggered a panic instead of an error condition. This code path has now
been modified to trigger an error instead of a panic.
Fixes#6248.
Bug report
System info:
Steps to reproduce:
queries
field keySELECT 'queries', slow_queries FROM ...
Expected behavior:
Error because I should have used
"queries"
rather than'queries'
Actual behavior:
Additional info:
Using unquoted
queries
properly returns an error:Using double quoted
"queries"
returns valid data.The text was updated successfully, but these errors were encountered: