Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/993#discussion_r60180863
--- Diff:
tajo-client/src/main/java/org/apache/tajo/jdbc/TajoResultSetBase.java ---
@@ -364,10 +364,16 @@ private Timestamp getTimestamp(Tuple tuple, TimeZone
tz, int index) throws SQLEx
}
private Timestamp toTimestamp(TimeMeta tm, TimeZone tz) {
+
+ long javaTime =
DateTimeUtil.julianTimeToJavaTime(DateTimeUtil.toJulianTimestamp(tm));
--- End diff --
It looks inconvenient to call both functions whenever we want to convert
TimeMeta into java time. How about adding a function which simply wraps these
calls?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---