Skip to content

Conversation

@bogdanrdc
Copy link
Contributor

What changes were proposed in this pull request?

Set currentVars to null in GenerateOrdering.genComparisons before genCode is called. genCode ignores INPUT_ROW if currentVars is not null and in genComparisons we want it to use INPUT_ROW.

How was this patch tested?

Added test with 2 queries in WholeStageCodegenSuite

@hvanhovell
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Feb 9, 2017

Test build #72658 has finished for PR 16875 at commit f155856.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Feb 10, 2017

Merging in branch-2.1.

@rxin
Copy link
Contributor

rxin commented Feb 10, 2017

@bogdanrdc can you close this? It won't auto close because it is not merged in master.

asfgit pushed a commit that referenced this pull request Feb 10, 2017
…6852

## What changes were proposed in this pull request?

Set currentVars to null in GenerateOrdering.genComparisons before genCode is called. genCode ignores INPUT_ROW if currentVars is not null and in genComparisons we want it to use INPUT_ROW.

## How was this patch tested?

Added test with 2 queries in WholeStageCodegenSuite

Author: Bogdan Raducanu <[email protected]>

Closes #16875 from bogdanrdc/SPARK-19512-2.1.
@bogdanrdc bogdanrdc closed this Feb 10, 2017
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.

4 participants