-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clickhouse: don't SET merge_tree_allow_nullable_key
Setting it was unnecessary and did not help. The previous change #172 was motivated by an incorrect diagnosis of the problem: This flag is a merge tree setting and not a global setting, so it's part of the table definition and does not need to be set on the session. The real problem was ClickHouse/ClickHouse#54814 which was introduced in ClickHouse 23.7 and fixed in ClickHouse >23.9 and is specific to projections inside a table: ClickHouse/ClickHouse@781674b ClickHouse/ClickHouse@973cd5e Another problem is that checkProperties (or checkKeyExpression) is not called when doing: `ALTER TABLE ... MODIFY SETTING allow_nullable_key=false` on a table that relied on a nullable key, but that requires an upstream fix.
- Loading branch information
1 parent
416d6b5
commit d1d76dc
Showing
3 changed files
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters