[ https://issues.apache.org/jira/browse/SPARK-9281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-9281. -------------------------------- Resolution: Fixed Fix Version/s: 1.5.0 > Parse literals as decimal in SQL > -------------------------------- > > Key: SPARK-9281 > URL: https://issues.apache.org/jira/browse/SPARK-9281 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Davies Liu > Assignee: Davies Liu > Labels: releasenotes > Fix For: 1.5.0 > > > Right now, we use double to parse all the float number in SQL. When it's used > in expression together with DecimalType, it will turn the decimal into double > as well. > Also it will loss some precision when using double. > It's better to parse the float number as decimal (we will know exactly the > precision and scale is), it also work well with double. > BTW, this is a break change. -- 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