cloud-fan commented on code in PR #45537:
URL: https://github.com/apache/spark/pull/45537#discussion_r1596817507
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3992,6 +3992,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val USE_LOCAL_SESSION_CALENDAR =
buildConf("spark.sql.jdbc.useLocalSessionCalendar")
+ .doc("When retrieving timestamp NTZ columns from JDBC data source, user
will see the " +
+ "values as they where shown in data source only if the JVM time zone is
equal " +
+ "to the spark local session time zone. Since these two can differ, if
this " +
+ "configuration property is set to true, rs.getTimestamp and
rs.setTimestamp " +
+ "API calls will use calendar with spark local session time zone as the
second argument")
+ .version("3.5.0")
Review Comment:
4.0.0
--
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]