teragrep / pth_10

Data Processing Language (DPL) translator for Apache Spark
GNU Affero General Public License v3.0
0 stars 2 forks source link

eval function sum() is not implemented #220

Closed eemhu closed 2 weeks ago

eemhu commented 6 months ago

Describe the bug ... | eval a = sum(n0, n1, n2, ...) is not implemented.

Expected behavior Should return the sum of all the numbers specified. Can be directly applied as literal parameters or as a field parameter.

How to reproduce Try to use the function.

Screenshots

Software version

4.17.0

Desktop (please complete the following information if relevant):

Additional context

parser issue, check ticket on pth_03

51-code commented 1 month ago

Fix implemented. Waiting for a new PTH-03 release before making a PR. There were parser fixes for this issue so the PTH-03 version has to updated in the PR as well.

51-code commented 3 weeks ago

Internal PR created.