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

    https://github.com/apache/spark/pull/12834#discussion_r61709421
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -698,28 +767,36 @@ def csv(self, path, mode=None, compression=None):
                 * ``ignore``: Silently ignore this operation if data already 
exists.
                 * ``error`` (default case): Throw an exception if data already 
exists.
     
    +        :param sep: sets the single character as a separator for each 
field and value. If None is \
    +                    set, it uses the default value, ``,``.
    +        :param quote: sets the single character used for escaping quoted 
values where the \
    +                      separator can be part of the value. If None is set, 
it uses the default \
    +                      value, ``"``.
    +        :param escape: sets the single character used for escaping quotes 
inside an already \
    +                       quoted value. If None is set, it uses the default 
value, ``\``
    +        :param header: writes the names of columns as the first line. If 
None is set, it uses \
    +                       the default value, ``false``.
    +        :param nullValue: sets the string representation of a null value. 
If None is set, it uses \
    +                          the default value, empty string.
             :param compression: compression codec to use when saving to file. 
This can be one of the
    --- End diff --
    
    can you move compression to the right place?



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to