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

[Bug] orca cannot generate a plan for query 'select t1.*, t2.* from t1 full join t2 on false where (t1.b < t1.b) is null' #723

Open
2 tasks done
fanfuxiaoran opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
type: Bug Something isn't working

Comments

@fanfuxiaoran
Copy link
Contributor

Cloudberry Database version

create table t1(a int, b int);
create table t2(like t1);
select t1.*, t2.* from t1 full join t2 on false where (t1.b < t1.b) is null;

for query select t1.*, t2.* from t1 full join t2 on false where (t1.b < t1.b) is null; orca failed to generate a plan for it.

What happened

explain select t1.*, t2.* from t1 full join t2 on false where (t1.b < t1.b) is null;
LOG:  statement: explain select t1.*, t2.* from t1 full join t2 on false where (t1.b < t1.b) is null;
LOG:  2024-11-21 11:18:57:010057 CST,THD000,ERROR,"No plan has been computed for required properties",
2024-11-21 11:18:57:011228 CST,THD000,ERROR,"No plan has been computed for required properties",

What you think should happen instead

No response

How to reproduce

create table t1(a int, b int);
create table t2(like t1);
select t1.*, t2.* from t1 full join t2 on false where (t1.b < t1.b) is null;

Operating System

centos7

Anything else

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@fanfuxiaoran fanfuxiaoran added the type: Bug Something isn't working label Nov 21, 2024
Copy link

Hey, @fanfuxiaoran welcome!🎊 Thanks for taking the time to point this out.🙌

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

No branches or pull requests

1 participant