Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12320#discussion_r59917201
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -426,6 +488,68 @@ def save(self, path=None, format=None, mode=None, 
partitionBy=None, **options):
             else:
                 self._jwrite.save(path)
     
    +    @ignore_unicode_prefix
    +    @since(2.0)
    +    def startStream(self, path=None, format=None, mode=None, 
partitionBy=None,
    +                    queryName=None, checkpointLocation=None, trigger=None, 
**options):
    +        """Saves the contents of the :class:`DataFrame` to a data source.
    +
    +        The data source is specified by the ``format`` and a set of 
``options``.
    +        If ``format`` is not specified, the default data source configured 
by
    +        ``spark.sql.sources.default`` will be used.
    +
    +        :param path: the path in a Hadoop supported file system
    +        :param format: the format used to save
    +        :param mode: specifies the behavior of the save operation when 
data already exists.
    --- End diff --
    
    What does mode mean for a stream?  I don't think we support that.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to