You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by cloud-fan <gi...@git.apache.org> on 2017/10/19 14:31:34 UTC

[GitHub] spark pull request #18933: [WIP][SPARK-21722][SQL][PYTHON] Enable timezone-a...

Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18933#discussion_r145717813
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -1760,6 +1760,17 @@ def toPandas(self):
     
                 for f, t in dtype.items():
                     pdf[f] = pdf[f].astype(t, copy=False)
    +
    +            if self.sql_ctx.getConf("spark.sql.execution.pandas.timeZoneAware", "false").lower() \
    --- End diff --
    
    I'd like to treat it as a bug and always respect the session local timezone.


---

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