diqiu50 commented on code in PR #11211:
URL: https://github.com/apache/gravitino/pull/11211#discussion_r3304346971


##########
spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/SparkTypeConverter.java:
##########
@@ -149,6 +150,8 @@ public DataType toSparkType(Type gravitinoType) {
     } else if (gravitinoType instanceof Types.FixedCharType) {
       Types.FixedCharType charType = (Types.FixedCharType) gravitinoType;
       return CharType.apply((charType.length()));
+    } else if (gravitinoType instanceof UUIDType) {

Review Comment:
   Without a comment, others may think this is a bug.



##########
docs/jdbc-postgresql-catalog.md:
##########
@@ -108,10 +108,11 @@ Please refer to [Manage Relational Metadata Using 
Gravitino](./manage-relational
 | `VarChar`         | `Varchar`        |
 | `FixedChar`       | `Bpchar`         |
 | `Binary`          | `Bytea`          |
+| `UUID`            | `Uuid`           |
 | `List`            | `Array`          |
 
 :::info
-PostgreSQL doesn't support Gravitino `Fixed` `Struct` `Map` `IntervalDay` 
`IntervalYear` `Union` `UUID` type.
+PostgreSQL doesn't support Gravitino `Fixed` `Struct` `Map` `IntervalDay` 
`IntervalYear` `Union` type.

Review Comment:
   Do we need to update document of the spark connector



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