yuqi1129 opened a new pull request, #14491: URL: https://github.com/apache/gravitino/pull/14491
### What changes were proposed in this pull request? Validate PostgreSQL UUID and External types before creating a Spark JDBC write builder. Report a column-specific unsupported-operation error and document the limitation. This implements explicit early refusal rather than new native-type write support. ### Why are the changes needed? Spark represents PostgreSQL UUID and External column types as strings. JDBC writes bind them as VARCHAR, so PostgreSQL rejects values including NULL with late JDBC batch/type errors. Fixes #14490 ### Does this PR introduce _any_ user-facing change? Affected writes fail before JDBC execution with an actionable message. Ordinary PostgreSQL write types and reads keep their existing behavior. ### How was this patch tested? Spark 3.5 unit tests and targeted Spark 4.0 write-validation tests, including ordinary write-builder construction. All selected tests passed on apache/gravitino main (90da2776a): 251 tests, zero failures. Spotless passed. -- 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]
