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

optimize_projections rule breaks some view operation #8978

Closed
lewiszlw opened this issue Jan 24, 2024 · 5 comments · Fixed by #8992
Closed

optimize_projections rule breaks some view operation #8978

lewiszlw opened this issue Jan 24, 2024 · 5 comments · Fixed by #8992
Labels
bug Something isn't working

Comments

@lewiszlw
Copy link
Member

Describe the bug

image
commit: ee7ab0b
If comment out optimize_projections rule, then works fine.

To Reproduce

create table users (id int, name varchar);
insert into users values (1, 'Tom');
create view v as select count(id) from users;
select count(1) from v;

Expected behavior

No response

Additional context

No response

@lewiszlw lewiszlw added the bug Something isn't working label Jan 24, 2024
@alamb
Copy link
Contributor

alamb commented Jan 24, 2024

I wonder if @mustafasrepo 's PR #8960 could possible fix this issue

@lewiszlw
Copy link
Member Author

I wonder if @mustafasrepo 's PR #8960 could possible fix this issue

No.

@Lordworms
Copy link
Contributor

I would like to try this one

@simonvandel
Copy link
Contributor

It seems there is already a fix here #8992

@Lordworms
Copy link
Contributor

It seems there is already a fix here #8992

seems like it is fixed, thanks!
image

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.

4 participants