aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDjvuLee <lihu@bytedance.com>2017-01-17 10:37:29 -0800
committergatorsmile <gatorsmile@gmail.com>2017-01-17 10:37:29 -0800
commit843ec8ec42a16d6b52ad161b98bedb4f9952964b (patch)
tree22e4485f173ced21dd6ad48c8d00ad31766402bb /tools
parenta23debd7bc8f85ea49c54b8cf3cd112cf0a803ff (diff)
downloadspark-843ec8ec42a16d6b52ad161b98bedb4f9952964b.tar.gz
spark-843ec8ec42a16d6b52ad161b98bedb4f9952964b.tar.bz2
spark-843ec8ec42a16d6b52ad161b98bedb4f9952964b.zip
[SPARK-19239][PYSPARK] Check parameters whether equals None when specify the column in jdbc API
## What changes were proposed in this pull request? The `jdbc` API do not check the `lowerBound` and `upperBound` when we specified the ``column``, and just throw the following exception: >```int() argument must be a string or a number, not 'NoneType'``` If we check the parameter, we can give a more friendly suggestion. ## How was this patch tested? Test using the pyspark shell, without the lowerBound and upperBound parameters. Author: DjvuLee <lihu@bytedance.com> Closes #16599 from djvulee/pysparkFix.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions