FANNG1 commented on code in PR #4893:
URL: https://github.com/apache/gravitino/pull/4893#discussion_r1756140557


##########
trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/util/GeneralDataTypeTransformer.java:
##########
@@ -103,7 +104,11 @@ public Type 
getTrinoType(org.apache.gravitino.rel.types.Type type) {
       case TIME:
         return TimeType.TIME_MILLIS;
       case TIMESTAMP:
-        return TimestampType.TIMESTAMP_MILLIS;
+        if (((Types.TimestampType) type).hasTimeZone()) {
+          return TimestampWithTimeZoneType.TIMESTAMP_TZ_MILLIS;

Review Comment:
   could you provide related document or code?



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