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

Fixing tests in Calcite upgrade by doing the following: #4

Open
wants to merge 6 commits into
base: calcite-upgrade
Choose a base branch
from

Conversation

somu-imply
Copy link

@somu-imply somu-imply commented Apr 18, 2023

  1. Added a new rule, CoreRules.PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS, to Base rules
  2. Refactored the CorrelateUnnestRule
  3. Updated CorrelateUnnestRel accordingly
  4. Fixed a case with selector filters on the left where Calcite was eliding the virtual column
  5. Additional test cases for fixes in 2,3,4
  6. Added two new data sources: FilterDataSource and SelectProjectDataSource to tackle filters and select projects
  7. Made query plans better using these 2 data sources for queries with selector filters by avoiding creating a query data source
  8. New test cases for covering 6 and 7

1. Added a new rule, CoreRules.PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS, to Base rules
2. Refactored the CorrelateUnnestRule
3. Updated CorrelateUnnestRel accordingly
4. Fixed a case with selector filters on the left where Calcite was eliding the virtual column
5. Additional test cases for fixes in 2,3,4
6. Update to StringListAggregator to fail a query if separators are not propagated appropriately
… data sources for handling filters and select projects
…s to subquery remove rule. This corrected plans for 2 queries with joins and subqueries by replacing an useless literal dimension with a post agg. Additionally a test with COUNT DISTINCT and FILTER which was failing with Calcite 1.21 is added here which passes with 1.35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant