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

Syntax highlighting does not support "within" and "where" keywords #37

Open
sag-tgo opened this issue Apr 6, 2021 · 0 comments
Open

Comments

@sag-tgo
Copy link
Contributor

sag-tgo commented Apr 6, 2021

These keywords are used with streams. Example:

from m in all Measurement(type=MEASUREMENT_TYPE) within WINDOW_DURATION_SECS
    where m.measurements.hasKey(MEASUREMENT_FRAGMENT) and m.measurements[MEASUREMENT_FRAGMENT].hasKey(MEASUREMENT_SERIES)
    select avg(m.measurements[MEASUREMENT_FRAGMENT][MEASUREMENT_SERIES].value) as movingMean
{
    ...
}

(thanks to @kpalf for reporting this)

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

No branches or pull requests

1 participant