wnob commented on code in PR #207:
URL: https://github.com/apache/calcite-avatica/pull/207#discussion_r1106259459


##########
core/src/test/java/org/apache/calcite/avatica/AvaticaResultSetConversionsTest.java:
##########
@@ -634,7 +701,7 @@ private DateArrayAccessorTestHelper(Getter g) {
       ColumnMetaData.ScalarType intType =
           ColumnMetaData.scalar(Types.DATE, "DATE", 
ColumnMetaData.Rep.PRIMITIVE_INT);
       Array expectedArray =
-          new ArrayFactoryImpl(TimeZone.getTimeZone("UTC")).createArray(
+          new ArrayFactoryImpl(DateTimeUtils.DEFAULT_ZONE).createArray(

Review Comment:
   This is to work around https://issues.apache.org/jira/browse/CALCITE-5488. 
Using the default zone instead of UTC means that it's not adjusted, so it's not 
double-adjusted.



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