GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/19918
[SPARK-22726] [TEST] Basic tests for Binary Comparison and ImplicitTypeCasts
## What changes were proposed in this pull request?
Before we deliver the Hive compatibility mode, we plan to write a set of
test cases that can be easily run in both Spark and Hive sides. We can easily
compare whether they are the same or not. When new typeCoercion rules are
added, we also can easily track the changes. These test cases can also be
backported to the previous Spark versions for determining the changes we made.
This PR is the first attempt for improving the test coverage for type
coercion compatibility. We generate these test cases for our binary comparison
and ImplicitTypeCasts based on the Apache Derby test cases in
https://github.com/apache/derby/blob/10.14/java/testing/org/apache/derbyTesting/functionTests/tests/lang/implicitConversions.sql
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark typeCoercionTests
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19918.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 #19918
----
commit 5451cf511723e7e41c95299fe1103dbc572e49a5
Author: gatorsmile <[email protected]>
Date: 2017-12-07T07:44:04Z
fix
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]