diff options
author | Davies Liu <davies@databricks.com> | 2015-06-23 15:51:16 -0700 |
---|---|---|
committer | Davies Liu <davies@databricks.com> | 2015-06-23 15:51:16 -0700 |
commit | 7fb5ae5024284593204779ff463bfbdb4d1c6da5 (patch) | |
tree | ac48f191ea7cdbf4db05cbc67039b7e3602830cf /docs/sql-programming-guide.md | |
parent | d96d7b55746cf034e3935ec4b22614a99e48c498 (diff) | |
download | spark-7fb5ae5024284593204779ff463bfbdb4d1c6da5.tar.gz spark-7fb5ae5024284593204779ff463bfbdb4d1c6da5.tar.bz2 spark-7fb5ae5024284593204779ff463bfbdb4d1c6da5.zip |
[SPARK-8573] [SPARK-8568] [SQL] [PYSPARK] raise Exception if column is used in booelan expression
It's a common mistake that user will put Column in a boolean expression (together with `and` , `or`), which does not work as expected, we should raise a exception in that case, and suggest user to use `&`, `|` instead.
Author: Davies Liu <davies@databricks.com>
Closes #6961 from davies/column_bool and squashes the following commits:
9f19beb [Davies Liu] update message
af74bd6 [Davies Liu] fix tests
07dff84 [Davies Liu] address comments, fix tests
f70c08e [Davies Liu] raise Exception if column is used in booelan expression
Diffstat (limited to 'docs/sql-programming-guide.md')
0 files changed, 0 insertions, 0 deletions