[ 
https://issues.apache.org/jira/browse/SPARK-12848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15102812#comment-15102812
 ] 

Herman van Hovell commented on SPARK-12848:
-------------------------------------------

[~Davies] We discussed the regression in the PR 
(https://github.com/apache/spark/pull/10745). I removed the functionality you 
currently ask for today 
(https://github.com/hvanhovell/spark/commit/7e31ee8a8ac36a600e0965ceefd297c33ffe0edc).
 We can revert this, the only thing is that we need to disable some Hive tests 
(which expect a Double).

> Parse number as decimal
> -----------------------
>
>                 Key: SPARK-12848
>                 URL: https://issues.apache.org/jira/browse/SPARK-12848
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Davies Liu
>
> Right now, Hive parser will parse 1.23 as double, when it's used with decimal 
> columns, you will turn the decimal into double, lose the precision.
> We should follow most database had done, parse 1.23 as double, it will be 
> converted into double when used with double.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to