[
https://issues.apache.org/jira/browse/SPARK-35344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17366901#comment-17366901
]
Apache Spark commented on SPARK-35344:
--------------------------------------
User 'xinrong-databricks' has created a pull request for this issue:
https://github.com/apache/spark/pull/32955
> Support creating a Column of numpy literal value in pandas-on-Spark
> -------------------------------------------------------------------
>
> Key: SPARK-35344
> URL: https://issues.apache.org/jira/browse/SPARK-35344
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 3.2.0
> Reporter: Xinrong Meng
> Priority: Major
>
> Spark (`lit` function defined in `pyspark.sql.functions`) doesn't support
> creating a Column out of numpy literal value.
> So `lit` function defined in `pyspark.pandas.spark.functions` should be
> adjusted in order to support that in pandas-on-Spark.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]