You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dayou Zhou (JIRA)" <ji...@apache.org> on 2017/06/07 05:50:18 UTC
[jira] [Commented] (SPARK-11966) Spark API for UDTFs
[ https://issues.apache.org/jira/browse/SPARK-11966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040235#comment-16040235 ]
Dayou Zhou commented on SPARK-11966:
------------------------------------
Hi [~hvanhovell], any examples on how this might be done using Data Sources API? Thanks.
> Spark API for UDTFs
> -------------------
>
> Key: SPARK-11966
> URL: https://issues.apache.org/jira/browse/SPARK-11966
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Reporter: Jaka Jancar
> Priority: Minor
>
> Defining UDFs is easy using sqlContext.udf.register, but not table-generating functions. For those you still have to use these horrendous Hive interfaces:
> https://github.com/prongs/apache-hive/blob/master/contrib/src/java/org/apache/hadoop/hive/contrib/udtf/example/GenericUDTFCount2.java
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org