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

SQL query planner crash when subquery combined with limit and case when #17615

Open
linehrr opened this issue Jan 9, 2025 · 0 comments
Open

Comments

@linehrr
Copy link

linehrr commented Jan 9, 2025

Affected Version

27.0.0

Description

we have a table like this:
image

then we issue this query against version 27.0.0 druid:

image

query failed due to
image

however the same query runs fine against druid version 0.22.1.

also if we remove the inner limit it also runs ok.
if we remove the case when it works.
if we remove the COALESCE it works.

more strangely, if we replace the actual table with dummy select, it also works !
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant