-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
[SPARK-24871][SQL] Refactor Concat and MapConcat to avoid creating concatenator object for each row. #21824
[SPARK-24871][SQL] Refactor Concat and MapConcat to avoid creating concatenator object for each row. #21824
Conversation
also cc @cloud-fan @gatorsmile |
| ${CodeGenerator.getValue(s"args[y]", elementType, "z")} | ||
|);""".stripMargin | ||
|
||
val setterCode = if (checkForNull) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: nullSafeSetterCode
LGTM |
Test build #93316 has finished for PR 21824 at commit
|
Test build #93326 has finished for PR 21824 at commit
|
Jenkins, retest this please. |
Test build #93330 has finished for PR 21824 at commit
|
thanks, merging to master! |
What changes were proposed in this pull request?
Refactor
Concat
andMapConcat
to:Concat
handlecontainsNull
properly.Concat
shortcut ifnull
child is found.How was this patch tested?
Added some tests and existing tests.