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

    https://github.com/apache/spark/pull/19607#discussion_r149661483
  
    --- Diff: python/pyspark/sql/session.py ---
    @@ -557,7 +577,13 @@ def createDataFrame(self, data, schema=None, 
samplingRatio=None, verifySchema=Tr
             except Exception:
                 has_pandas = False
             if has_pandas and isinstance(data, pandas.DataFrame):
    -            data, schema = self._convert_from_pandas(data, schema)
    +            if 
self.conf.get("spark.sql.execution.pandas.respectSessionTimeZone").lower() \
    --- End diff --
    
    Do you mean we don't need the config and just fix the behavior? cc 
@gatorsmile 


---

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

Reply via email to