[
https://issues.apache.org/jira/browse/SPARK-40196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-40196.
----------------------------------
Fix Version/s: 3.4.0
Resolution: Fixed
Issue resolved by pull request 37888
[https://github.com/apache/spark/pull/37888]
> 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
> Assignee: Xinrong Meng
> Priority: Major
> Fix For: 3.4.0
>
>
> Per [https://github.com/apache/spark/pull/37560#discussion_r952882996,]
> function `lit` with NumPy scalar 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: [email protected]
For additional commands, e-mail: [email protected]