ptupitsyn commented on code in PR #3737:
URL: https://github.com/apache/ignite-3/pull/3737#discussion_r1597880038


##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/sql/ClientSqlProperties.java:
##########
@@ -68,6 +75,10 @@ SqlProperties toSqlProps() {
             builder.set(QueryProperty.DEFAULT_SCHEMA, schema);
         }
 
+        if (timeZoneId != null) {
+            builder.set(QueryProperty.TIME_ZONE_ID, ZoneId.of(timeZoneId));
+        }

Review Comment:
   Yes, the javadoc explains it in detail: 
[ZoneId#of](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/ZoneId.html#of(java.lang.String))
   
   It supports standard [IANA region-based zone 
IDs](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), so I expect 
every client to have something suitable in the standard library or a popular 
package.



-- 
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]

Reply via email to