spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Assigned] (SPARK-26535) Parsing literals as DOUBLE instead of DECIMAL
Date Sat, 05 Jan 2019 17:02:00 GMT


Apache Spark reassigned SPARK-26535:

    Assignee: Apache Spark

> Parsing literals as DOUBLE instead of DECIMAL
> ---------------------------------------------
>                 Key: SPARK-26535
>                 URL:
>             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,
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message