GitHub user uzadude opened a pull request: https://github.com/apache/spark/pull/23042
[SPARK-26070] add rule for implicit type coercion for decimal(x,0) ## What changes were proposed in this pull request? Adding another excpetion rule for a popular case where ID columns are saved as decimal(x,0) and are compared with same ID columns in other tables which are saved as strings ## How was this patch tested? added a unit tests and made some manual tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/uzadude/spark SPARK-26070-decimal-coercion Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23042.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 #23042 ---- commit 5bb97493c5a8d214762f36bbb824d34b6b44a5e2 Author: oraviv <oraviv@...> Date: 2018-11-15T08:13:07Z add another exception rule for a wide use case in which ID columns are saved as decimal(x, 0) ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org