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

A projection pushdown related bug (SQLancer-TLP) #11409

Closed
2010YOUY01 opened this issue Jul 11, 2024 · 0 comments · Fixed by #11536
Closed

A projection pushdown related bug (SQLancer-TLP) #11409

2010YOUY01 opened this issue Jul 11, 2024 · 0 comments · Fixed by #11536
Assignees
Labels
bug Something isn't working

Comments

@2010YOUY01
Copy link
Contributor

2010YOUY01 commented Jul 11, 2024

Describe the bug

This query should be valid, but it returned a projection-pushdown related bug during the execution
Reproducer:

/*DML*/CREATE TABLE t1(v0 BIGINT, v1 BIGINT, v2 BIGINT, v3 BOOLEAN);
/*DML*/CREATE TABLE t2(v0 DOUBLE);
/*DML*/INSERT INTO t1(v0, v2, v1) VALUES (-1229445667, -342312412, -1507138076);
/*DML*/INSERT INTO t1(v0, v1) VALUES (1541512604, -1229445667);
/*DML*/INSERT INTO t1(v1, v3, v0, v2) VALUES (-1020641465, false, -1493773377, 1751276473);
/*DML*/INSERT INTO t1(v3) VALUES (true), (true), (false);
/*DML*/INSERT INTO t2(v0) VALUES (0.28014577292925047);
SELECT t1.v2, t1.v0 FROM t2 NATURAL JOIN t1 UNION ALL SELECT t1.v2, t1.v0 FROM t2 NATURAL JOIN t1 WHERE (t1.v2 IS NULL);

Error message

ProjectionPushdown
caused by
Internal error: Not all InterleaveExec children have a consistent hash partitioning.
This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker

To Reproduce

No response

Expected behavior

No response

Additional context

Found by SQLancer #11030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants