-
Notifications
You must be signed in to change notification settings - Fork 121
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
Some expand operators not working as expected #735
Labels
Milestone
Comments
Hi @mholck -- which CQL engine are you using? |
1.5 |
They also fail in Atom using the language-cql 2.11.1 plugin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using some of the examples from the CQL Specification some of the expand operators seem to be incorrect or unable to resolve
expand { Interval[@2018-01-01, @2018-01-04] } per 2 days
is expanding out to
[Interval[2018-01-01, 2018-01-03), Interval[2018-01-03, 2018-01-05), Interval[2018-01-05, 2018-01-07)]
Note the extra interval at the end
expand { Interval[10.0, 12.5] } per 1
throws exception Could not resolve call to operator Expand with signature (list<interval<System.Decimal>>,System.Integer)
expand { Interval[10, 10] } per 0.1
throws exception Could not resolve call to operator Expand with signature (list<interval<System.Integer>>,System.Decimal)
expand { Interval[1, 10] } per 2
throws exception Could not resolve call to operator Expand with signature (list<interval<System.Integer>>,System.Integer)
expand { Interval[@T10, @T10] } per minute
is returning null rather than { }
The text was updated successfully, but these errors were encountered: