Skip to content

Can not plan scans with complex ordering expressions #3194

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

Open
hatyo opened this issue Feb 25, 2025 · 0 comments
Open

Can not plan scans with complex ordering expressions #3194

hatyo opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
bug Something isn't working planner Related to the query planner

Comments

@hatyo
Copy link
Contributor

hatyo commented Feb 25, 2025

If we have a SQL statement like the following:

select a & 1, a & 2 from t order by a & 1, a & 2

The planner is not able to plan it, even if we have a matching value index:

create index idx1 as select a & 1, a & 2 from t1 order by  a & 1, a & 2
@hatyo hatyo added bug Something isn't working planner Related to the query planner labels Feb 25, 2025
@hatyo hatyo self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working planner Related to the query planner
Projects
None yet
Development

No branches or pull requests

1 participant