Neil Huang created SPARK-21847:
----------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]