Github user gatorsmile commented on a diff in the pull request:
    --- Diff: python/pyspark/sql/ ---
    @@ -138,7 +139,27 @@ def listColumns(self, tableName, dbName=None):
         def createExternalTable(self, tableName, path=None, source=None, 
schema=None, **options):
    -        """Creates an external table based on the dataset in a data source.
    +        """Creates a table based on the dataset in a data source.
    +        It returns the DataFrame associated with the external table.
    +        The data source is specified by the ``source`` and a set of 
    +        If ``source`` is not specified, the default data source configured 
    +        ``spark.sql.sources.default`` will be used.
    +        Optionally, a schema can be provided as the schema of the returned 
:class:`DataFrame` and
    +        created external table.
    +        :return: :class:`DataFrame`
    +        """
    +        warnings.warn(
    +            "createExternalTable is deprecated since Spark 2.2, please use 
createTable instead.",
    +            DeprecationWarning)
    +        return self.createTable(tableName, path, source, schema, **options)
    --- End diff --
    `**options` -> `options`?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to