GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/20084
[SPARK-22904][SQL] Add tests for decimal operations and string casts
## What changes were proposed in this pull request?
Test coverage for arithmetic operations leading to:
1. Precision loss
2. Overflow
Moreover, tests for casting bad string to other input types and for using
bad string as operators of some functions.
## How was this patch tested?
added tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-22904
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20084.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 #20084
----
commit 7a9650aa4737768a4428de65841050ca8b157528
Author: Marco Gaido <marcogaido91@...>
Date: 2017-12-26T17:44:01Z
[SPARK-22904][SQL] Add tests for decimal operations and string casts
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]