diff options
author | Davies Liu <davies@databricks.com> | 2014-10-28 19:38:16 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-10-28 19:38:16 -0700 |
commit | 8c0bfd08fc19fa5de7d77bf8306d19834f907ec0 (patch) | |
tree | 96d0424f06e2c20d9ee34cc482f792fdbff473a6 /network/common | |
parent | b5e79bf889700159d490cdac1f6322dff424b1d9 (diff) | |
download | spark-8c0bfd08fc19fa5de7d77bf8306d19834f907ec0.tar.gz spark-8c0bfd08fc19fa5de7d77bf8306d19834f907ec0.tar.bz2 spark-8c0bfd08fc19fa5de7d77bf8306d19834f907ec0.zip |
[SPARK-4133] [SQL] [PySpark] type conversionfor python udf
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.
Author: Davies Liu <davies@databricks.com>
Closes #2973 from davies/udf_array and squashes the following commits:
306956e [Davies Liu] Merge branch 'master' of github.com:apache/spark into udf_array
2c00e43 [Davies Liu] fix merge
11395fa [Davies Liu] Merge branch 'master' of github.com:apache/spark into udf_array
9df50a2 [Davies Liu] address comments
79afb4e [Davies Liu] type conversionfor python udf
Diffstat (limited to 'network/common')
0 files changed, 0 insertions, 0 deletions