Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/17310#discussion_r106958052
--- Diff: python/pyspark/sql/readwriter.py ---
@@ -748,13 +748,21 @@ def csv(self, path, mode=None, compression=None,
sep=None, quote=None, escape=No
formats follow the formats at
``java.text.SimpleDateFormat``.
This applies to timestamp type. If None is
set, it uses the
default value,
``yyyy-MM-dd'T'HH:mm:ss.SSSZZ``.
+ :param ignoreLeadingWhiteSpace: defines whether or not leading
whitespaces from values
+ being written should be skipped.
If None is set, it uses
+ the default value, ``true``.
+ :param ignoreTrailingWhiteSpace: defines whether or not trailing
whitespaces from values
+ being written should be skipped.
If None is set, it uses
+ the default value, ``true``.
--- End diff --
any existing python test to add testing these new 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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]