Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong example in the documentation for use of count in a having clause #457

Open
jmsimonma-md opened this issue Jun 5, 2024 · 1 comment

Comments

@jmsimonma-md
Copy link
Collaborator

In the aggregation operators in the count part we have the following example (Example 2) DS_r := sum ( DS_1 group by Id_1 having count() > 2 ) and I think it is wrong for the input data provided in the example.
We can change the expression DS_r := count( DS_1 group by Id_1 having count() > 2 )
Or if we want to keep the original expression, we have to provide a input with a numeric measure and the result datastructure must contain the grouped identifiers and the measure, not Int_var.

@javihern98
Copy link
Collaborator

Suggestion: giving the fact that the result has int_var, we should change only the expression;

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants