spark-instrumented-optimizer/python
Davies Liu 13f7b0a910 [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

(cherry picked from commit 7fb5ae5024)
Signed-off-by: Davies Liu <davies@databricks.com>
2015-06-23 15:51:35 -07:00
..
docs [SPARK-7619] [PYTHON] fix docstring signature 2015-05-14 18:16:48 -07:00
lib [SPARK-2305] [PySpark] Update Py4J to version 0.8.2.1 2014-07-29 19:02:06 -07:00
pyspark [SPARK-8573] [SPARK-8568] [SQL] [PYSPARK] raise Exception if column is used in booelan expression 2015-06-23 15:51:35 -07:00
test_support [SPARK-8060] Improve DataFrame Python test coverage and documentation. 2015-06-03 00:23:42 -07:00
.gitignore [SPARK-3946] gitignore in /python includes wrong directory 2014-10-14 14:09:39 -07:00
run-tests [MINOR] Enable PySpark SQL readerwriter and window tests 2015-06-02 12:02:07 -07:00