Skip to content

Conversation

@its-felix
Copy link
Contributor

@its-felix its-felix commented Jan 6, 2026

After upgrading from Apache Superset 5.0.0 to 6.0.0, Druid Queries were failed with the following error:

Uncategorized calcite error message: [java.lang.ClassCastException: class org.apache.calcite.sql.fun.SqlArrayValueConstructor cannot be cast to class org.apache.calcite.sql.SqlFunction (org.apache.calcite.sql.fun.SqlArrayValueConstructor

This turned out to be an issue with the Druid dialect in this library.

This PR updates the Druid Dialect for array expression to correctly translate them to ARRAY[] instead of ARRAY()

@VaggelisD
Copy link
Collaborator

Thank you!

Leaving the docs for future reference: https://druid.apache.org/docs/latest/querying/sql-array-functions/

@VaggelisD VaggelisD merged commit 6ecbb01 into tobymao:main Jan 7, 2026
11 checks passed
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 this pull request may close these issues.

2 participants