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

WITH Example Fails #13

Open
neeshjaa opened this issue Dec 11, 2023 · 0 comments · May be fixed by chi-collective/GenSQL.query#73
Open

WITH Example Fails #13

neeshjaa opened this issue Dec 11, 2023 · 0 comments · May be fixed by chi-collective/GenSQL.query#73

Comments

@neeshjaa
Copy link

The documentation page contains an example:

WITH (satellites_model GIVEN Users = "Military") AS military_model:
  SELECT PROBABILITY OF Apogee_km UNDER military_model

However in the current implementation (modulo some commonsense differences in naming) this fails:

IQL> with (model given Users = "Military") as military_model: select probability of Apogee under military_model
Parse error at line 1, column 107:
with (model given Users = "Military") as military_model: select probability of Apogee under military_model
                                                                                                          ^
Expected one of:
#"\s+"
,
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

Successfully merging a pull request may close this issue.

1 participant