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

SHARK-172 - Make ppd2 unit test pass #32

Open
wants to merge 1 commit into
base: shark-0.11
Choose a base branch
from
Open

SHARK-172 - Make ppd2 unit test pass #32

wants to merge 1 commit into from

Conversation

dafunker
Copy link

During Operator.initEvaluators() execution, the number of evaluators that get initialised for ReduceSinkOperators relates directly to the numDistributionKeys field. Prior to this change, the number of elements in the keyCols array and the value of numDistributionKeys were potentially out of sync which would cause one of the ExprNodeColumnEvaluator's to have null fields and therefore throw a NPE during the ppd2 test run.

I've piggy backed this on the decision to copy across ExprNodeDesc's due to the direct link between that array and numDistributionKeys during Operator.initEvaluators() execution.

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