HyukjinKwon commented on a change in pull request #17489: [SPARK-20166][SQL]
Use XXX for ISO 8601 timezone instead of ZZ (FastDateFormat specific) in
CSV/JSON timeformat options
URL: https://github.com/apache/spark/pull/17489#discussion_r282053768
##########
File path: python/pyspark/sql/readwriter.py
##########
@@ -363,7 +363,7 @@ def csv(self, path, schema=None, sep=None, encoding=None,
quote=None, escape=Non
:param timestampFormat: sets the string that indicates a timestamp
format. Custom date
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``.
+ default value,
``yyyy-MM-dd'T'HH:mm:ss.SSSXXX``.
Review comment:
This option is specific to CSV, not JDBC
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]