Skip to content

Commit e696a61

Browse files
committed
fix: clickhouse remove allow_nullable_key
1 parent e34ccab commit e696a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/clickhouse/clickhouse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func (click *SClickhouseBackend) GetCreateSQLs(ts sqlchemy.ITableSpec) []string
183183
createSql += fmt.Sprintf("\nTTL `%s` + INTERVAL %d %s", ttlCol.Name(), ttlCount, ttlUnit)
184184
}
185185
// set default time zone of table to UTC
186-
createSql += "\nSETTINGS index_granularity=8192, allow_nullable_key=1"
186+
createSql += "\nSETTINGS index_granularity=8192"
187187
}
188188
return []string{
189189
createSql,

0 commit comments

Comments
 (0)