yuqi1129 opened a new issue, #14490: URL: https://github.com/apache/gravitino/issues/14490
### Version main branch, checked at 90da2776a. ### Describe what's wrong 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. ### Error message and/or stacktrace See the behavior described above; source-valid objects or invalid configuration are not reported consistently. ### How to reproduce Through Spark, load a PostgreSQL table containing a UUID or External column and attempt INSERT or INSERT OVERWRITE, including NULL. Unsupported writes should fail before JDBC execution with an error naming the column and type. ### Additional context A focused patch with regression tests is prepared. -- 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]
