Skip to content

Support Union in Decoupled planning#17354

Merged
kgyrtkirk merged 206 commits intoapache:masterfrom
kgyrtkirk:decouple-union2
Nov 5, 2024
Merged

Support Union in Decoupled planning#17354
kgyrtkirk merged 206 commits intoapache:masterfrom
kgyrtkirk:decouple-union2

Conversation

@kgyrtkirk
Copy link
Member

@kgyrtkirk kgyrtkirk commented Oct 15, 2024

  • introduces UnionQuery
  • some changes to enable a UnionQuery to have multiple input datasources
  • UnionQuery execution is driven by the QueryLogic - which could later enable to reduce some complexity in ClientQuerySegmentWalker
  • to run the subqueries of UnionQuery there was a need to access the conglomerate from the Runner; to enable that some refactors were done
  • renamed UnionQueryRunner to UnionDataSourceQueryRunner
  • QueryRunnerFactoryConglomerate have taken the place of QueryToolChestWarehouse which shaves of some unnecessary things here and there
  • small cleanup/refactors

Copy link
Contributor

@imply-cheddar imply-cheddar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few nitty type comments that don't need to be addressed to merge this. Address them if you agree/want to/have to make changes to satisfy the test bots anyway.

@kgyrtkirk kgyrtkirk merged commit 2eac831 into apache:master Nov 5, 2024
@kgyrtkirk
Copy link
Member Author

tests running jdk21 have bumped into the issue of #17429

jtuglu1 pushed a commit to jtuglu1/druid that referenced this pull request Nov 20, 2024
* introduces `UnionQuery`
* some changes to enable a `UnionQuery` to have multiple input datasources
* `UnionQuery` execution is driven by the `QueryLogic` - which could later enable to reduce some complexity in `ClientQuerySegmentWalker`
* to run the subqueries of `UnionQuery` there was a need to access the `conglomerate` from the `Runner`; to enable that some refactors were done
* renamed `UnionQueryRunner` to `UnionDataSourceQueryRunner`
* `QueryRunnerFactoryConglomerate` have taken the place of `QueryToolChestWarehouse` which shaves of some unnecessary things here and there
* small cleanup/refactors
@adarshsanjeev adarshsanjeev added this to the 32.0.0 milestone Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants