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
throws the following exception:
java.lang.IllegalStateException: Parser failure on line 4, column 28 due to mismatched input ')' expecting EVAL_LANGUAGE_MODE_COMMA
Please check that the query is written correctly. Otherwise, please report this error and include the query used and this error.
This can be done without the eval() command in the query. However, evaluations would be needed if the user wants to calculate something with that, say sum(balance) + avg(example) or something like that. But that will throw the same exception.
The reason for the exception is that the evaluation function "sum" would require at least one comma and another field or evaluation function to sum with. But for timechart, the field itself is enough.
The bug happens with avg() too. Probably with all evaluation functions that require multiple fields normally, but in timechart would only require one.
Expected behavior
This should be valid DPL. The query calculates the sum of the field "balance" for each bin in timechart individually.
How to reproduce
Run the query in the description.
Screenshots
Software version
pth_10 version: 8.3.1
pth_03 version: 9.3.0
Desktop (please complete the following information if relevant):
OS:
Browser:
Version:
Additional context
Perhaps the functions could be treated as aggregateFunctions instead of evalStatements? They only require one field.
The text was updated successfully, but these errors were encountered:
Describe the bug
The following query:
throws the following exception:
java.lang.IllegalStateException: Parser failure on line 4, column 28 due to mismatched input ')' expecting EVAL_LANGUAGE_MODE_COMMA
Please check that the query is written correctly. Otherwise, please report this error and include the query used and this error.
This can be done without the eval() command in the query. However, evaluations would be needed if the user wants to calculate something with that, say
sum(balance) + avg(example)
or something like that. But that will throw the same exception.The reason for the exception is that the evaluation function "sum" would require at least one comma and another field or evaluation function to sum with. But for timechart, the field itself is enough.
The bug happens with avg() too. Probably with all evaluation functions that require multiple fields normally, but in timechart would only require one.
Expected behavior
This should be valid DPL. The query calculates the sum of the field "balance" for each bin in timechart individually.
How to reproduce
Run the query in the description.
Screenshots
Software version
pth_10 version: 8.3.1
pth_03 version: 9.3.0
Desktop (please complete the following information if relevant):
Additional context
Perhaps the functions could be treated as aggregateFunctions instead of evalStatements? They only require one field.
The text was updated successfully, but these errors were encountered: