HyukjinKwon commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r675456037
##########
File path: python/pyspark/sql/types.py
##########
@@ -186,6 +187,20 @@ def fromInternal(self, ts):
return datetime.datetime.fromtimestamp(ts //
1000000).replace(microsecond=ts % 1000000)
+class TimestampNTZType(TimestampType):
Review comment:
@dominikgehl can we do this in a separate PR? With adding this type, we
should also check if it works w/:
- `SparkSession.createDataFrame` (when
'spark.sql.execution.arrow.pyspark.enabled'` configuration is on and off)
- `DataFrame.toPandas` (when 'spark.sql.execution.arrow.pyspark.enabled'`
configuration is on and off)
- `DataFrame.collect`
- `pyspark.functions.udf`
- `pyspark.functions.pandas_udf`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]