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

Xinrong Meng updated SPARK-40196:
---------------------------------
    Summary: Consolidate `lit` function with NumPy scalar in sql and pandas 
module  (was: Consolidate `lit` function with NumPy input in sql and pandas 
module)

> Consolidate `lit` function with NumPy scalar in sql and pandas module
> ---------------------------------------------------------------------
>
>                 Key: SPARK-40196
>                 URL: https://issues.apache.org/jira/browse/SPARK-40196
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 3.4.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> Per [https://github.com/apache/spark/pull/37560#discussion_r952882996,]
> function `lit` with NumPy input in sql and pandas module have different 
> implementations, thus, sql has a less precise result than pandas.
> We shall make their result consistent, the more precise, the better.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to