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

DRILL-7587: Fix ValuesPrule distribution trait type #2002

Closed
wants to merge 1 commit into from

Conversation

arina-ielchiieva
Copy link
Member

DRILL-7587: Fix ValuesPrule distribution trait type

Description

Incorrect result was retuning due to absence of singleton distribution trait which forces to run such type of queries only in one fragment.

Documentation

NA

Testing

Add unit tests and run full test suit, including Functional and Advanced tests.

Copy link
Member

@vvysotskyi vvysotskyi left a comment

Choose a reason for hiding this comment

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

LGTM, +1

call.transformTo(new ValuesPrel(rel.getCluster(), rel.getRowType(), rel.getTuples(),
rel.getTraitSet().plus(Prel.DRILL_PHYSICAL), rel.getContent()));
rel.getTraitSet().plus(Prel.DRILL_PHYSICAL).plus(DrillDistributionTrait.SINGLETON), rel.getContent()));
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a comment that explains the reason, such as the PR explanation?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, added explanation comments.

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.

None yet

3 participants