[
https://issues.apache.org/jira/browse/SPARK-26535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-26535:
------------------------------------
Assignee: Apache Spark
> Parsing literals as DOUBLE instead of DECIMAL
> ---------------------------------------------
>
> Key: SPARK-26535
> URL: https://issues.apache.org/jira/browse/SPARK-26535
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Marco Gaido
> Assignee: Apache Spark
> Priority: Major
>
> As pointed out by [~dkbiswal]'s comment
> https://github.com/apache/spark/pull/22450#issuecomment-423082389, most of
> other RDBMS (DB2, Presto, Hive, MSSQL) consider literals as DOUBLE by default.
> Spark as of now consider them as DECIMAL. This is quite problematic
> especially in relation with the operations on decimal, for which we base our
> implementation on Hive/MSSQL.
> So this ticket is for moving by default the resolution of literals as DOUBLE,
> but with a config which allows to get back to the previous behavior.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]