Repository: spark Updated Branches: refs/heads/master ade075aed -> 06fbc3554
[SPARK-19403][PYTHON][SQL] Correct pyspark.sql.column.__all__ list. ## What changes were proposed in this pull request? This removes from the `__all__` list class names that are not defined (visible) in the `pyspark.sql.column`. ## How was this patch tested? Existing unit tests. Author: zero323 <[email protected]> Closes #16742 from zero323/SPARK-19403. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/06fbc355 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/06fbc355 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/06fbc355 Branch: refs/heads/master Commit: 06fbc3554952bc9ba376b070a4a8f8a81be742fa Parents: ade075a Author: zero323 <[email protected]> Authored: Mon Jan 30 18:01:02 2017 +0100 Committer: Reynold Xin <[email protected]> Committed: Mon Jan 30 18:01:02 2017 +0100 ---------------------------------------------------------------------- python/pyspark/sql/column.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/06fbc355/python/pyspark/sql/column.py ---------------------------------------------------------------------- diff --git a/python/pyspark/sql/column.py b/python/pyspark/sql/column.py index 8d5adc8..ec059d6 100644 --- a/python/pyspark/sql/column.py +++ b/python/pyspark/sql/column.py @@ -27,7 +27,7 @@ from pyspark.context import SparkContext from pyspark.rdd import ignore_unicode_prefix from pyspark.sql.types import * -__all__ = ["DataFrame", "Column", "DataFrameNaFunctions", "DataFrameStatFunctions"] +__all__ = ["Column"] def _create_column_from_literal(literal): --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
