ianmcook commented on code in PR #46529:
URL: https://github.com/apache/spark/pull/46529#discussion_r1608967403
##########
python/pyspark/sql/tests/test_arrow.py:
##########
@@ -199,13 +237,6 @@ def create_arrow_table(self):
pa.field("6_decimal_t", pa.decimal128(38, 18)),
)
t = t.cast(new_schema)
- # convert timestamp to local timezone
- timezone = self.spark.conf.get("spark.sql.session.timeZone")
- t = t.set_column(
- t.schema.get_field_index("8_timestamp_t"),
- "8_timestamp_t",
- pc.assume_timezone(t["8_timestamp_t"], timezone),
- )
Review Comment:
I added this function in #45481. The fixes in this PR make it unnecessary
for the user to localize the timestamp, so this code can be removed.
--
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]