This commit is contained in:
Lukas Eder 2025-07-04 08:46:56 +02:00
parent e28018625e
commit f2ea77af9c

View File

@ -1074,7 +1074,7 @@ public class DefaultDataType<T> extends AbstractDataTypeX<T> {
*/
static final String normalise(SQLDialect dialect, String typeName) {
if (dialect != null && dialect.family() == CLICKHOUSE && typeName.startsWith("Nullable("))
typeName = P_NULLABLE.matcher(typeName).replaceFirst(r -> r.group(1));
typeName = P_NULLABLE.matcher(typeName).replaceFirst("$1");
return normalise(typeName);
}