spark-instrumented-optimizer/python/pyspark/sql
Yong Tang e5387018e7 [SPARK-19975][PYTHON][SQL] Add map_keys and map_values functions to Python
## What changes were proposed in this pull request?

This fix tries to address the issue in SPARK-19975 where we
have `map_keys` and `map_values` functions in SQL yet there
is no Python equivalent functions.

This fix adds `map_keys` and `map_values` functions to Python.

## How was this patch tested?

This fix is tested manually (See Python docs for examples).

Author: Yong Tang <yong.tang.github@outlook.com>

Closes #17328 from yongtang/SPARK-19975.
2017-06-19 11:40:07 -07:00
..
__init__.py [SPARK-16772][PYTHON][DOCS] Fix API doc references to UDFRegistration + Update "important classes" 2016-08-06 05:02:59 +01:00
catalog.py [SPARK-18777][PYTHON][SQL] Return UDF from udf.register 2017-05-06 22:28:42 -07:00
column.py [SPARK-20290][MINOR][PYTHON][SQL] Add PySpark wrapper for eqNullSafe 2017-05-01 09:43:32 -07:00
conf.py [SPARK-15464][ML][MLLIB][SQL][TESTS] Replace SQLContext and SparkContext with SparkSession using builder pattern in python test code 2016-05-23 18:14:48 -07:00
context.py [SPARK-20844] Remove experimental from Structured Streaming APIs 2017-05-26 13:33:23 -07:00
dataframe.py [SPARK-21042][SQL] Document Dataset.union is resolution by position 2017-06-09 18:29:33 -07:00
functions.py [SPARK-19975][PYTHON][SQL] Add map_keys and map_values functions to Python 2017-06-19 11:40:07 -07:00
group.py [MINOR][PYSPARK][DOC] Fix wrongly formatted examples in PySpark documentation 2016-07-06 10:45:51 -07:00
readwriter.py [SPARK-20980][SQL] Rename wholeFile to multiLine for both CSV and JSON 2017-06-15 13:18:19 +08:00
session.py [SPARK-20844] Remove experimental from Structured Streaming APIs 2017-05-26 13:33:23 -07:00
streaming.py [SPARK-20980][SQL] Rename wholeFile to multiLine for both CSV and JSON 2017-06-15 13:18:19 +08:00
tests.py [SPARK-20980][SQL] Rename wholeFile to multiLine for both CSV and JSON 2017-06-15 13:18:19 +08:00
types.py Revert "[SPARK-19561] [PYTHON] cast TimestampType.toInternal output to long" 2017-03-07 17:14:26 -08:00
utils.py [MINOR][DOCS] Remove consecutive duplicated words/typo in Spark Repo 2017-01-04 15:07:29 +00:00
window.py [SPARK-18690][PYTHON][SQL] Backward compatibility of unbounded frames 2016-12-02 17:39:28 -08:00