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

add to whitelist

@hvanhovell
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Feb 8, 2017

Test build #72581 has finished for PR 16852 at commit 9a8d853.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@bogdanrdc
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Feb 8, 2017

Test build #72582 has finished for PR 16852 at commit 9a8d853.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Feb 8, 2017

Test build #3565 has finished for PR 16852 at commit 9a8d853.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Feb 9, 2017

Test build #3568 has finished for PR 16852 at commit 9a8d853.

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

@hvanhovell
Copy link
Contributor

LGTM - merging to master.

@hvanhovell
Copy link
Contributor

@bogdanrdc can you create a backport for branch-2.1?

@asfgit asfgit closed this in 1af0dee Feb 9, 2017
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.
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
## 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 apache#16852 from bogdanrdc/SPARK-19512.
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.

3 participants