diqiu50 opened a new issue, #14858: URL: https://github.com/apache/gravitino/issues/14858
### Version main branch ### Describe what's wrong - String default values containing a single quote are loaded with a backslash (`a'b` → `a\'b`). - Out-of-range or invalid literal defaults (e.g. `128` for byte, `99.999` for `decimal(3,2)`, `2024-13-01` for date, `not-a-uuid`) are accepted because ClickHouse does not validate DEFAULT literals in DDL. - Docs do not state that FixedChar is `char(n)` in REST, and the varchar error message suggests `fixedchar(n)`. - Docs do not mention that `FixedString(n)` with n > 256 needs `allow_suspicious_fixed_string_types`. ### Error message and/or stacktrace N/A ### How to reproduce 1. Create a ClickHouse table with a string column whose default is `a'b`, then load it: the default is `a\'b`. 2. Create a ClickHouse table with an integer column whose default is `2147483648`: creation succeeds and the default loads as an unparsed expression. ### Additional context N/A -- 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]
