spark-instrumented-optimizer/python
ksonj 3df9c5dd0c Better error message on access to non-existing attribute
I believe column access via `__getattr__` is bad and shouldn't be implicitly encouraged by the error message when accessing a non-existing attribute on DataFrame. This patch changes the error message from 'no such column'  to the more generic 'no such attribute', which is also what Pandas DFs will throw.

Author: ksonj <kson@siberie.de>

Closes #5771 from ksonj/master and squashes the following commits:

bcc2220 [ksonj] Better error message on access to non-existing attribute
2015-04-29 09:48:47 -07:00
..
docs [SPARK-6264] [MLLIB] Support FPGrowth algorithm in Python API 2015-04-09 15:10:10 -07:00
lib [SPARK-2305] [PySpark] Update Py4J to version 0.8.2.1 2014-07-29 19:02:06 -07:00
pyspark Better error message on access to non-existing attribute 2015-04-29 09:48:47 -07:00
test_support [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
.gitignore [SPARK-3946] gitignore in /python includes wrong directory 2014-10-14 14:09:39 -07:00
run-tests [SPARK-6953] [PySpark] speed up python tests 2015-04-21 17:49:55 -07:00