Describe the bug
%dpl
| makeresults count=5
| eval count = 123
| stats sum(count)
Returns:
java.lang.IllegalStateException: Parser failure on line 4, column 12 due to mismatched input 'count' expecting {METHOD_AGGREGATE_DQSTRING, METHOD_AGGREGATE_STRING_MATCH, EVAL_LANGUAGE_MODE_PARENTHESIS_L, EVAL_LANGUAGE_MODE_INTEGER, EVAL_LANGUAGE_MODE_DECIMAL, EVAL_LANGUAGE_MODE_EXCLAMATION, EVAL_LANGUAGE_MODE_NOT, ..... }
Expected behavior
Fields named after aggregation methods like count, avg etc, should not cause any issues when used with aggregation commands.
How to reproduce
Screenshots
Software version
pth_10 version: 12.1.1-DPF_02_5.0.0-3
pth_03 version: 9.4.1
Desktop (please complete the following information if relevant):
Additional context
Describe the bug
%dpl
| makeresults count=5
| eval count = 123
| stats sum(count)
Returns:
java.lang.IllegalStateException: Parser failure on line 4, column 12 due to mismatched input 'count' expecting {METHOD_AGGREGATE_DQSTRING, METHOD_AGGREGATE_STRING_MATCH, EVAL_LANGUAGE_MODE_PARENTHESIS_L, EVAL_LANGUAGE_MODE_INTEGER, EVAL_LANGUAGE_MODE_DECIMAL, EVAL_LANGUAGE_MODE_EXCLAMATION, EVAL_LANGUAGE_MODE_NOT, ..... }Expected behavior
Fields named after aggregation methods like count, avg etc, should not cause any issues when used with aggregation commands.
How to reproduce
Screenshots
Software version
pth_10 version: 12.1.1-DPF_02_5.0.0-3
pth_03 version: 9.4.1
Desktop (please complete the following information if relevant):
Additional context