You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/07/02 02:25:17 UTC

[GitHub] [spark] uncleGen edited a comment on issue #24961: [SPARK-28158][SQL] Hive UDFs supports UDT type

uncleGen edited a comment on issue #24961: [SPARK-28158][SQL] Hive UDFs supports UDT type
URL: https://github.com/apache/spark/pull/24961#issuecomment-507490876
 
 
   @maropu For example, the internal sql type of `VectorUDT` and `MatrixUDT` is `StructType`. We can use `StructObjectInspector` in Hive UDFs to handle there type data. There is a demo: https://github.com/aliyun/aliyun-emapreduce-sdk/blob/master-2.x/emr-sql/src/main/scala/org/apache/spark/sql/aliyun/udfs/ml/LogisticRegressionUDF.scala#L86

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org