yuqi1129 opened a new pull request, #13349: URL: https://github.com/apache/gravitino/pull/13349
### What changes were proposed in this pull request? Reject `VarChar(n)` for ClickHouse table creation and column addition with an error that names the supported alternatives. Update the type documentation and tests that previously relied on implicit conversion to `String`. ### Why are the changes needed? ClickHouse does not enforce a `varchar(n)` length limit. Gravitino currently reports success and echoes the requested type, but later loads the column as `string`. Fix: #13348 ### Does this PR introduce _any_ user-facing change? Yes. Creating or adding a ClickHouse `varchar(n)` column now fails with guidance to use `string` or `fixedchar(n)`. ### How was this patch tested? - `:catalogs-contrib:catalog-jdbc-clickhouse:spotlessCheck` - `:catalogs-contrib:catalog-jdbc-clickhouse:test -PskipITs --tests org.apache.gravitino.catalog.clickhouse.converter.TestClickHouseTypeConverter --tests org.apache.gravitino.catalog.clickhouse.operations.TestClickHouseTableOperationsUnit` (37 tests 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]
