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
Currently we support the time aggregation when we pass the dataset. Seems there is another option where we do not pass any operand to the time_agg (currently not supported):
DS_r := sum ( DS_1 group all time_agg ( "A" ) )
Error shown when generating the AST:
vtlengine.Exceptions.SemanticError: ('Optional or empty expression node is not allowed in time_agg.', '1-4-2-2')
Tasks to perform
Review the manual and discuss the potential behaviour of this function
Add a ticket to the VTL community if necessary
Implement the expected behaviour and remove this Semantic Error
The text was updated successfully, but these errors were encountered:
Hi Javier, how do we support it? Do we need to add the time component code? If that's the case, then I would say we need to support also this case, with a check: The dataset on which we are aggregating needs to have one, and only one, time dimension
It is not necessary to indicate the time id, there is a method that detects it from a dataset. Check the following method: Time.py: 60 _get_time_id(cls, operand: Dataset)
Overview
Currently we support the time aggregation when we pass the dataset. Seems there is another option where we do not pass any operand to the time_agg (currently not supported):
Error shown when generating the AST:
Tasks to perform
The text was updated successfully, but these errors were encountered: