GitHub user stanzhai opened a pull request:
https://github.com/apache/spark/pull/18986
[SPARK-21774][SQL] The rule PromoteStrings should cast a string to double
type when compare with a int
## What changes were proposed in this pull request?
The rule PromoteStrings should cast a string to double type when compare
with a int.
This PR fixed this.
## How was this patch tested?
Origin test cases updated.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stanzhai/spark fix-type-coercion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18986.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 #18986
----
commit 1a289a5a1b0756e86e225d43de73d9b42afb0a0e
Author: Stan Zhai <[email protected]>
Date: 2017-08-18T02:17:20Z
fix a bug of TypeCoercion
----
---
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]