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

Wren core transform SQL failed UNION ALL expected 2 inputs, but found 4 #926

Open
grieve54706 opened this issue Nov 19, 2024 · 0 comments
Open
Labels
bug Something isn't working core

Comments

@grieve54706
Copy link
Contributor

WITH vals AS
  (
    SELECT 1 x, 'a' y UNION ALL
    SELECT 1 x, 'b' y UNION ALL
    SELECT 2 x, 'a' y UNION ALL
    SELECT 2 x, 'c' y
  )
SELECT x, ARRAY_AGG(y) as array_agg
FROM vals
GROUP BY x;
DataFusion error: This feature is not implemented: UNION ALL expected 2 inputs, but found 4

BigQuery function reference
https://cloud.google.com/bigquery/docs/reference/standard-sql/aggregate_functions#array_agg

@grieve54706 grieve54706 added the bug Something isn't working label Nov 19, 2024
@goldmedal goldmedal removed their assignment Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core
Projects
None yet
Development

No branches or pull requests

2 participants