Repository navigation
Conversation
|
Test build #22341 has started for PR 2973 at commit
|
|
Test build #22341 has finished for PR 2973 at commit
|
|
Test FAILed. |
|
Test build #485 has started for PR 2973 at commit
|
|
Test build #22352 has started for PR 2973 at commit
|
|
Test build #485 has finished for PR 2973 at commit
|
|
Test build #22352 has finished for PR 2973 at commit
|
|
Test PASSed. |
There was a problem hiding this comment.
Nit/existing: I'd avoid creating attributes which is actually pretty expensive due to an AtomicLong and use the public API for schema. I think instead of these two lines you can just do the following here and above.
val fieldTypes = schema.fields.map(_.dataType)|
Thanks for the quick fix! A few minor comments. |
Conflicts: sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
|
Test build #22377 has started for PR 2973 at commit
|
|
Test build #22378 has started for PR 2973 at commit
|
|
Test build #489 has started for PR 2973 at commit
|
|
Test build #22379 has started for PR 2973 at commit
|
|
Test build #22377 has finished for PR 2973 at commit
|
|
Test PASSed. |
|
Test build #22378 has finished for PR 2973 at commit
|
|
Test PASSed. |
|
Test build #22379 has finished for PR 2973 at commit
|
|
Test PASSed. |
|
Test build #489 has finished for PR 2973 at commit
|
|
Thanks! Merged to master. |
|
FYI this is actually: SPARK-4113 |
|
thanks, update the link |
Call Python UDF on ArrayType/MapType/PrimitiveType, the returnType can also be ArrayType/MapType/PrimitiveType.
For StructType, it will act as tuple (without attributes). If returnType is StructType, it also should be tuple.