The java docs says that the calculated timezone offset needs to be *added*
[1] while avatica *subtracts* it [2].

I even saw this happening multiple times in the same class which makes me
think, is this actually a bug or not ?
I'm facing a case supporting that this is a bug and the javadocs supports
the same too.

[1]
https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html#getOffset-long-
[2]
https://github.com/apache/calcite-avatica/blob/96507bfe737f2188c16dec9d16d5e8b502df231f/core/src/main/java/org/apache/calcite/avatica/util/AbstractCursor.java#L1047

Thanks,
Gelbana

Reply via email to