diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-03-03 20:16:37 -0800 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2016-03-03 20:16:37 -0800 |
commit | 15d57f9c23145ace37d1631d8f9c19675c142214 (patch) | |
tree | c5c152bde4f55245a0ea0e1ff1cb8b82f9acac08 /scalastyle-config.xml | |
parent | d062587dd2c4ed13998ee8bcc9d08f29734df228 (diff) | |
download | spark-15d57f9c23145ace37d1631d8f9c19675c142214.tar.gz spark-15d57f9c23145ace37d1631d8f9c19675c142214.tar.bz2 spark-15d57f9c23145ace37d1631d8f9c19675c142214.zip |
[SPARK-13647] [SQL] also check if numeric value is within allowed range in _verify_type
## What changes were proposed in this pull request?
This PR makes the `_verify_type` in `types.py` more strict, also check if numeric value is within allowed range.
## How was this patch tested?
newly added doc test.
Author: Wenchen Fan <wenchen@databricks.com>
Closes #11492 from cloud-fan/py-verify.
Diffstat (limited to 'scalastyle-config.xml')
0 files changed, 0 insertions, 0 deletions