Skip to content

Conversation

@ueshin
Copy link
Member

@ueshin ueshin commented Jul 20, 2018

What changes were proposed in this pull request?

Refactor Concat and MapConcat to:

  • avoid creating concatenator object for each row.
  • make Concat handle containsNull properly.
  • make Concat shortcut if null child is found.

How was this patch tested?

Added some tests and existing tests.

@ueshin
Copy link
Member Author

ueshin commented Jul 20, 2018

cc @mn-mikke @bersprockets

@ueshin
Copy link
Member Author

ueshin commented Jul 20, 2018

also cc @cloud-fan @gatorsmile

| ${CodeGenerator.getValue(s"args[y]", elementType, "z")}
|);""".stripMargin

val setterCode = if (checkForNull) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: nullSafeSetterCode

@cloud-fan
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Jul 20, 2018

Test build #93316 has finished for PR 21824 at commit 644a30d.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jul 20, 2018

Test build #93326 has finished for PR 21824 at commit c254523.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@ueshin
Copy link
Member Author

ueshin commented Jul 20, 2018

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Jul 20, 2018

Test build #93330 has finished for PR 21824 at commit c254523.

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

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@asfgit asfgit closed this in 7b6d36b Jul 20, 2018
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