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-4833: Handle union-all physical operator during the excessive e… #562

Closed
wants to merge 1 commit into from

Conversation

amansinha100
Copy link

…xchange identification phase.

@amansinha100
Copy link
Author

@jinfengni could you pls review this patch ? I have put some explanation in the JIRA itself.


// width of the major fragment that contains union-all should be the maximum
// width of all its inputs
s.setMaxWidth(maxStat.getMaxWidth());
Copy link
Contributor

Choose a reason for hiding this comment

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

In addition to maxWidth, should we maintain maxRows as well for the stat object of Union-all operator?

Copy link
Contributor

Choose a reason for hiding this comment

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

After discussion with @amansinha100 , I realized that maxRows has been taken care of for Union-All operator, since for union-all, maxRows will be sum of both children's maxRows.

@jinfengni
Copy link
Contributor

+1

@amansinha100
Copy link
Author

Closing based on comments in DRILL-4833.

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

2 participants