spark-instrumented-optimizer/python/pyspark/sql
Davies Liu f76d2e55b1 [SPARK-6603] [PySpark] [SQL] add SQLContext.udf and deprecate inferSchema() and applySchema
This PR create an alias for `registerFunction` as `udf.register`, to be consistent with Scala API.

It also deprecated inferSchema() and applySchema(), show an warning for them.

cc rxin

Author: Davies Liu <davies@databricks.com>

Closes #5273 from davies/udf and squashes the following commits:

476e947 [Davies Liu] address comments
c096fdb [Davies Liu] add SQLContext.udf and deprecate inferSchema() and applySchema
2015-03-30 15:47:00 -07:00
..
__init__.py [DOC] Improvements to Python docs. 2015-03-28 23:59:27 -07:00
context.py [SPARK-6603] [PySpark] [SQL] add SQLContext.udf and deprecate inferSchema() and applySchema 2015-03-30 15:47:00 -07:00
dataframe.py [DOC] Improvements to Python docs. 2015-03-28 23:59:27 -07:00
functions.py [SPARK-5994] [SQL] Python DataFrame documentation fixes 2015-02-24 20:51:55 -08:00
tests.py [SPARK-6055] [PySpark] fix incorrect __eq__ of DataType 2015-02-27 20:07:17 -08:00
types.py [SPARK-6121][SQL][MLLIB] simpleString for UDT 2015-03-02 17:14:34 -08:00