GitHub user chenghao-intel opened a pull request:
https://github.com/apache/spark/pull/2559
[SPARK-3707] [SQL] Fix bug of type coercion in DIV
Calling `BinaryArithmetic.dataType` will throws exception until it's
resolved, but in type coercion rule `Division`, seems doesn't follow this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chenghao-intel/spark type_coercion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2559.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 #2559
----
commit dc552187e9765a4fc1e193c3fa78df1bba297191
Author: Cheng Hao <[email protected]>
Date: 2014-09-27T14:08:01Z
fix bug of type coercion in div
commit 199a85d2e7ef482f3c0ac9cacc4dbeb2a21d5901
Author: Cheng Hao <[email protected]>
Date: 2014-09-27T14:56:30Z
Simplify the divide rule
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]