Closed hadrienk closed 8 months ago
@hadrienk I think the problems are not just the simple incorrect assertions. I noticed two types of errors
range between
are failed. Is there an update on VTL grammar?For example, the below VTL syntax is no longer valid
res := stddev_samp ( ds1 over ( partition by Id_1 order by Year range between -1 and 1) );
The unit test output:
fr.insee.vtl.model.exceptions.VtlScriptException: no viable alternative at input '-1 and'
@pengfei99 I think you forgot preceding
or following
keyword
res := stddev_samp ( ds1 over ( partition by Id_1 order by Year range between -1 preceding and 1 following) );
Is VTL valid (you can validate your expressions here)
See issue #300 for quality gate failing reason.
We reworked the analytic engine to support operations on datasets.
@pengfei99 I see a bunch of tests failing because of syntax/incorrect assertions. Could you take a pass and correct what you see is an easy fix?
All the tests are in fr.insee.vtl.spark.processing.engine.analytic