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
WITH
/* splitByChar('(', user_metadata_map['rp_prescreenStep'])[1] as prescreen, */
user_metadata_map['rocketStage'] AS stage,
stage AS keys
SELECT
(intDiv(toUInt32(_time), 3600) *3600) *1000as t,
keys,
sum(alloc_cost) as cost
FROMdefault.test_barchartWHERE
cluster NOT LIKE'%-sleep'AND cluster NOT LIKE'%_test'AND hpcod_resource_name !='INTERACTIVE'GROUP BY keys, t
ORDER BY keys, t
root reason is
/* splitByChar('(', user_metadata_map['rp_prescreenStep'])[1] as prescreen, */
^^^^ brackets here pass corner case to AST parser (!isClousered)
whole query parsed as one single WITH,
miss parse SELECT, FROM, ORDER BY, GROUP BY
this is not affect query execution pipeline
but affect query result serialization to grafana timeSeries format,
replacing ( to any other char, resolves issue
The text was updated successfully, but these errors were encountered:
Query Example
root reason is
whole query parsed as one single WITH,
miss parse SELECT, FROM, ORDER BY, GROUP BY
this is not affect query execution pipeline
but affect query result serialization to grafana timeSeries format,
replacing
(
to any other char, resolves issueThe text was updated successfully, but these errors were encountered: