-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-6542][SQL] add CreateStruct #5195
Conversation
Test build #29197 has started for PR 5195 at commit
|
Test build #29197 has finished for PR 5195 at commit
|
Test FAILed. |
The build failure was caused by codegen. Some test suite executed earlier enabled codegen, thus |
Test build #29252 has started for PR 5195 at commit
|
Test build #29252 has finished for PR 5195 at commit
|
Test FAILed. |
Test build #29465 has started for PR 5195 at commit |
Test build #29468 has started for PR 5195 at commit |
Test build #29465 has finished for PR 5195 at commit
|
Test PASSed. |
Merged to master, thanks! |
Test build #29468 has finished for PR 5195 at commit
|
Test PASSed. |
@@ -1081,3 +1087,14 @@ class ExpressionEvaluationSuite extends FunSuite { | |||
checkEvaluation(~c1, -2, row) | |||
} | |||
} | |||
|
|||
// TODO: Make the tests work with codegen. |
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.
Is there a JIRA for this TODO?
VectorAssembler merges multiple columns into a vector column. This PR contains content from #5195. ~~carry ML attributes~~ (moved to a follow-up PR) Author: Xiangrui Meng <[email protected]> Closes #5196 from mengxr/SPARK-5885 and squashes the following commits: a52b101 [Xiangrui Meng] recognize more types 35daac2 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-5885 bb5e64b [Xiangrui Meng] add TODO for null 976a3d6 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-5885 0859311 [Xiangrui Meng] Revert "add CreateStruct" 29fb6ac [Xiangrui Meng] use CreateStruct adb71c4 [Xiangrui Meng] Merge branch 'SPARK-6542' into SPARK-5885 85f3106 [Xiangrui Meng] add CreateStruct 4ff16ce [Xiangrui Meng] add VectorAssembler
Similar to
CreateArray
, we can addCreateStruct
to create nested columns. @marmbrus