You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Artem Rukavytsia (JIRA)" <ji...@apache.org> on 2019/01/27 20:41:00 UTC

[jira] [Commented] (SPARK-19254) Support Seq, Map, and Struct in functions.lit

    [ https://issues.apache.org/jira/browse/SPARK-19254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753582#comment-16753582 ] 

Artem Rukavytsia commented on SPARK-19254:
------------------------------------------

Looks like Pyspark doesn't support `typedLit`, `from pyspark.sql.functions import typedLit` is failing. Suggest it's the unexpected behavior. 

> Support Seq, Map, and Struct in functions.lit
> ---------------------------------------------
>
>                 Key: SPARK-19254
>                 URL: https://issues.apache.org/jira/browse/SPARK-19254
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Takeshi Yamamuro
>            Assignee: Takeshi Yamamuro
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> In the current implementation, function.lit does not support Seq, Map, and Struct. This ticket is intended to support them. This is the follow-up of https://issues.apache.org/jira/browse/SPARK-17683.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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