You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2014/10/22 10:10:33 UTC

[jira] [Created] (SPARK-4045) BinaryArithmetic cannot implicitly cast StringType to DoubleType

Kousuke Saruta created SPARK-4045:
-------------------------------------

             Summary: BinaryArithmetic cannot implicitly cast StringType to DoubleType
                 Key: SPARK-4045
                 URL: https://issues.apache.org/jira/browse/SPARK-4045
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.2.0
            Reporter: Kousuke Saruta


If we use StringType for a operand for BinaryArithmetic, the operand is coerced to be DoubleType.
I think, the operand should be coerced to be the type of another operand.



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

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