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

[Presto] Parser error when it encounters WITH ORDINALITY statement of UNNEST #284

Open
thalesmello opened this issue Nov 14, 2024 · 0 comments · May be fixed by #288
Open

[Presto] Parser error when it encounters WITH ORDINALITY statement of UNNEST #284

thalesmello opened this issue Nov 14, 2024 · 0 comments · May be fixed by #288
Assignees

Comments

@thalesmello
Copy link

WITH ORDINALITY is used by the UNNEST function in Presto.
The following code snippet fails:

SELECT numbers, n, a
FROM (
  VALUES
    (ARRAY[2, 5]),
    (ARRAY[7, 8, 9])
) AS x (numbers)
CROSS JOIN UNNEST(numbers) WITH ORDINALITY AS t (n, a);
@matthias-Q matthias-Q self-assigned this Nov 15, 2024
@matthias-Q matthias-Q linked a pull request Nov 15, 2024 that will close this issue
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