Davies Liu created SPARK-19415:
----------------------------------
Summary: Improve the implicit type conversion between numeric type
and string to avoid precesion loss
Key: SPARK-19415
URL: https://issues.apache.org/jira/browse/SPARK-19415
Project: Spark
Issue Type: Improvement
Components: SQL
Reporter: Davies Liu
Currently, Spark SQL will convert both numeric type and string into DoubleType,
if the two children of a expression does not match (for example, comparing a
LongType again StringType), this will cause precision loss in some cases.
Some database does better job one this (for example, SQL Server [1]), we should
follow that.
[1] https://msdn.microsoft.com/en-us/library/ms191530.aspx
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]