predator4ann commented on code in PR #8216:
URL: https://github.com/apache/gravitino/pull/8216#discussion_r2297592143


##########
trino-connector/integration-test/src/test/resources/trino-ci-testset/testsets/jdbc-postgresql/00006_datatype.txt:
##########
@@ -17,17 +17,17 @@ CREATE TABLE
    f11 integer,
    f12 bigint,
    f13 date,
-   f14 time(6),
-   f15 timestamp(6),
-   f16 timestamp(6) with time zone
+   f14 time(3),
+   f15 timestamp(3),
+   f16 timestamp(3) with time zone
 )

Review Comment:
   For trino-connector, the current behavior remains consistent with its 
original state: 
   - For mysql catalog, any precision or unspecified is precision=0 
   - For iceberg catalog, any precision or unspecified is precision=6
   - For postgresql catalog, when not specified, the default is 3; otherwise, 
it is min(precision, 6) 
   - For Hive catalog, it only accepts cases where precision is not specified, 
but the underlying precision is actually 3 
   - Default behavior, precision=3 if not specified, otherwise according to 
input (TIME is an alias for TIME(3) (millisecond precision). 
https://trino.io/docs/current/language/types.html#time)



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