urosstan-db commented on code in PR #60609:
URL: https://github.com/apache/spark/pull/60609#discussion_r4599198887
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JdbcUtils.scala:
##########
@@ -480,6 +480,9 @@ object JdbcUtils extends Logging with SQLConfHelper {
case _: StringType => JDBCValueGetter.StringGetter
case TimestampType if metadata.contains("logical_time_type") =>
JDBCValueGetter.LogicalTimeGetter
+ case TimestampType if
options.exists(_.timestampCalendarTimeZone.isDefined) =>
+ JDBCValueGetter.TimestampWithCalendarGetter(
Review Comment:
Do we need to consume this option on write path as well, to have correct
roundtrip, whatever calendar is used, instant of timestamp should not be lost
in roundtrip
--
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]