Skip to content

Support more than 1 druid source#14980

Merged
zhenxiao merged 1 commit intoprestodb:masterfrom
weidongduan37:support_union_all_druid
Aug 13, 2020
Merged

Support more than 1 druid source#14980
zhenxiao merged 1 commit intoprestodb:masterfrom
weidongduan37:support_union_all_druid

Conversation

@weidongduan37
Copy link
Contributor

Allow union and union all operation

Copy link
Collaborator

@zhenxiao zhenxiao left a comment

Choose a reason for hiding this comment

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

nice catch, @weidongduan37
could we add testcase in: TestDruidQueryGenerator?

Previously, only allow 1 druid source. Now will try to push down
operations under UnionNode, and union (all) data at presto side.
@weidongduan37 weidongduan37 force-pushed the support_union_all_druid branch from d497986 to d700fa1 Compare August 9, 2020 11:06
@weidongduan37
Copy link
Contributor Author

nice catch, @weidongduan37
could we add testcase in: TestDruidQueryGenerator?

Hi @zhenxiao, it's not easy to add test case in TestDruidQueryGenerator directly because it's only available for 1 druid sql generated case. I try to add a new testDruidPlanOptimizer class to cover more than 1 druid sql generated case. Thanks,

Copy link
Collaborator

@zhenxiao zhenxiao left a comment

Choose a reason for hiding this comment

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

nice work, @weidongduan37

@zhenxiao zhenxiao merged commit 7a0c140 into prestodb:master Aug 13, 2020
@caithagoras caithagoras mentioned this pull request Aug 14, 2020
7 tasks
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.

2 participants