From 06fbc3554952bc9ba376b070a4a8f8a81be742fa Mon Sep 17 00:00:00 2001 From: zero323 Date: Mon, 30 Jan 2017 18:01:02 +0100 Subject: [PATCH] [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 Closes #16742 from zero323/SPARK-19403. --- python/pyspark/sql/column.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/sql/column.py b/python/pyspark/sql/column.py index 8d5adc8ffd6d4..ec059d6258439 100644 --- a/python/pyspark/sql/column.py +++ b/python/pyspark/sql/column.py @@ -27,7 +27,7 @@ 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):