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

QUALIFY is not supported #180

Closed
joshbode opened this issue Dec 5, 2024 · 5 comments · Fixed by #184 or #186
Closed

QUALIFY is not supported #180

joshbode opened this issue Dec 5, 2024 · 5 comments · Fixed by #184 or #186

Comments

@joshbode
Copy link

joshbode commented Dec 5, 2024

The QUALIFY clause is not supported, giving the diagnostic error: INVALID_ARGUMENT: QUALIFY is not supported

WITH
  x AS (
    SELECT 1 id, 1 value
    UNION ALL
    SELECT 1 id, 2 value
    UNION ALL
    SELECT 2 id, 3 value
  )
SELECT
  *
FROM
  x
QUALIFY
  COUNT(1) OVER (PARTITION BY id) > 1
image
@joshbode
Copy link
Author

joshbode commented Dec 7, 2024

Thank you!

@joshbode
Copy link
Author

joshbode commented Dec 8, 2024

@kitagry - I'm still getting the error on version 0.2.1 (I also tried with the latest code on main):

❱ go install github.com/kitagry/[email protected]
...
❱ which bqls
/Users/josh/.local/share/go/bin/bqls
❱ bqls --version
bqls v0.0.0 (rev: /go1.23.3)
image

@kitagry
Copy link
Owner

kitagry commented Dec 9, 2024

I think this is related with google/zetasql#124. I'll fix it within a few days.

@kitagry kitagry reopened this Dec 9, 2024
@joshbode
Copy link
Author

joshbode commented Dec 9, 2024

No worries - thank you!

@joshbode
Copy link
Author

It works! Thank you @kitagry :)

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.

2 participants