You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2017/01/30 17:01:08 UTC

spark git commit: [SPARK-19403][PYTHON][SQL] Correct pyspark.sql.column.__all__ list.

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 <ze...@users.noreply.github.com>

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 <ze...@users.noreply.github.com>
Authored: Mon Jan 30 18:01:02 2017 +0100
Committer: Reynold Xin <rx...@databricks.com>
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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org