-
Notifications
You must be signed in to change notification settings - Fork 121
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
Unexpected error when using $conditionalTest macro #524
Comments
Current workaround for this problem is downgrade to vertamedia-clickhouse-datasource v2.5.4 |
Could you provide ogirinal SQL query which you tried to use with $conditionalTest macro? And maybe CREATE TABLE statements |
@Slach it is business dashboard with financial data under NDA. |
@Slach reproduced this error locally in other dashboard based on Error occurres during editing query in SQL query editor For example SELECT
$timeSeries as t,
if(initial_user='', 'unknown', initial_user) as user,
count() as queries
FROM clusterAllReplicas(clickhouse_cluster, $table)
WHERE $timeFilter
and query_kind = 'Select'
and type in ('QueryFinish','ExceptionWhileProcessing')
GROUP BY t,user
ORDER BY t, queries desc |
shared query is not contains $conditionalTest SELECT
$timeSeries as t,
if(initial_user='', 'unknown', initial_user) as user,
count() as queries,
$conditionalTest(what here?)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FROM clusterAllReplicas(clickhouse_cluster, $table)
WHERE $timeFilter
and query_kind = 'Select'
and type in ('QueryFinish','ExceptionWhileProcessing')
GROUP BY t,user
ORDER BY t, queries desc |
ok. found it in shared JSON, thank for sharing, we will try to reproduce and fix it |
ClickHouse.Loading.Stats.json |
Doesn't matter, error occurs when I add new JS code crashed right in the moment I ended typing |
error_screencast.webm |
I'm experiencing the same |
fixed in #526 |
Plugin crashes while start typing macro
$conditionalTest
in SQL query editor form.Reproduced on version:
Error log in plugin interface
Error log in browser console
The text was updated successfully, but these errors were encountered: