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

Closes #16742 from zero323/SPARK-19403.
This commit is contained in:
zero323 2017-01-30 18:01:02 +01:00 committed by Reynold Xin
parent ade075aed4
commit 06fbc35549

View file

@ -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):