GitHub user davies opened a pull request:

    https://github.com/apache/spark/pull/6250

    [SPARK-6411] [SQL] [PySpark] support datetime with timezone in Python

    Spark SQL does not support timezone, and Pyrolite does not support timezone 
well. This patch will convert datetime into POSIX timestamp (without confusing 
of timezone), create java.sql.Time for SQL. If the datetime object does not 
have timezone, it's treated as local time.
    
    The timezone in RDD will be lost after one round trip, all the datetime 
from SQL will be local time.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/davies/spark tzone

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6250.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6250
    
----
commit 6a29aa4d8689bf5f5e1a4f3861d04c012ded8cd3
Author: Davies Liu <[email protected]>
Date:   2015-05-19T00:35:27Z

    support datetime with timezone

----


---
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