yuqi1129 opened a new pull request, #14487: URL: https://github.com/apache/gravitino/pull/14487
### What changes were proposed in this pull request? Map the PostgreSQL JDBC unbounded-varchar size sentinel to String while preserving bounded VARCHAR lengths. Include converter and native PostgreSQL metadata tests. ### Why are the changes needed? PostgreSQL JDBC reports Integer.MAX_VALUE as COLUMN_SIZE for an unbounded varchar. The converter produces varchar(2147483647), which exceeds the downstream Trino varchar limit and can make any query of the table fail. Fixes #14486 ### Does this PR introduce _any_ user-facing change? Unbounded PostgreSQL varchar columns are exposed as String, allowing downstream consumers to load the table. ### How was this patch tested? PostgreSQL type-converter unit tests and the native unbounded-varchar Docker regression test. All selected tests passed on apache/gravitino main (90da2776a): 6 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]
