You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/08/28 04:11:00 UTC

[jira] [Resolved] (SPARK-21847) Where is the lit() function in pyspark 2.2.0?

     [ https://issues.apache.org/jira/browse/SPARK-21847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-21847.
----------------------------------
    Resolution: Invalid

Questions should go to mailing list. I am resolving this and I can't reproduce it too.

> Where is the lit() function in pyspark 2.2.0?
> ---------------------------------------------
>
>                 Key: SPARK-21847
>                 URL: https://issues.apache.org/jira/browse/SPARK-21847
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 2.2.0
>            Reporter: Neil Huang
>
> when I do this:
> from pyspark.sql.functions import lit,nanvl
> it said the lit can not resolve,and I found there is no lit func in functions.py
> but the doc said that it has it...
> in 2.1.1, there is lit func and work very well
> please where is the func, thanks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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