GitHub user sarutak opened a pull request:

    https://github.com/apache/spark/pull/2891

    [SPARK-4045][SQL] BinaryArithmetic cannot implicitly cast StringType to 
DoubleType

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sarutak/spark SPARK-4045

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2891.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2891
    
----
commit 4295cddb9e4b241fe43582ce67afbd2384979b6b
Author: Kousuke Saruta <saru...@oss.nttdata.co.jp>
Date:   2014-10-22T08:12:47Z

    Fixed implicit cast

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to