diqiu50 commented on code in PR #11211:
URL: https://github.com/apache/gravitino/pull/11211#discussion_r3308956968
##########
docs/spark-connector/spark-connector.md:
##########
@@ -104,3 +104,8 @@ Gravitino spark connector support the following datatype
mapping between Spark a
| `ArrayType` | `array` | 0.5.0
|
| `MapType` | `map` | 0.5.0
|
| `StructType` | `struct` | 0.5.0
|
+
+:::note
+For Gravitino `UUID` type, Spark connector represents it as `StringType`
because Spark has no native UUID type.
+This behavior is consistent with Spark built-in PostgreSQL JDBC mapping
(`uuid` -> `StringType`).
+:::
Review Comment:
What is the behavior when writing to a PostgreSQL table with a UUID field
using Spark?
--
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]