Skip to content

Commit

Permalink
ALTER TABLE ... FREEZE + encrypted disk over s3 disk doesn't work, wa…
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Dec 27, 2023
1 parent db7e7ea commit f44ee37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2221,9 +2221,10 @@ func generateTestDataWithDifferentStoragePolicy(remoteStorageType string, testDa
if compareVersion(os.Getenv("CLICKHOUSE_VERSION"), "21.12") >= 0 && remoteStorageType == "S3" {
testDataWithStoragePolicy.Name = "test_s3_encrypted"
testDataWithStoragePolicy.Schema = "(id UInt64) Engine=MergeTree ORDER BY id SETTINGS storage_policy = 's3_only_encrypted'"
if compareVersion(os.Getenv("CLICKHOUSE_VERSION"), "23.3") >= 0 {
testDataWithStoragePolicy.Schema = "(id UInt64) Engine=ReplicatedMergeTree('/clickhouse/tables/{cluster}/{shard}/{database}/{table}','{replica}') ORDER BY id SETTINGS storage_policy = 's3_only_encrypted'"
}
// @todo wait when fix https://github.com/ClickHouse/ClickHouse/issues/58247
//if compareVersion(os.Getenv("CLICKHOUSE_VERSION"), "23.12") >= 0 {
// testDataWithStoragePolicy.Schema = "(id UInt64) Engine=ReplicatedMergeTree('/clickhouse/tables/{cluster}/{shard}/{database}/{table}','{replica}') ORDER BY id SETTINGS storage_policy = 's3_only_encrypted'"
//}
addTestDataIfNotExists()
}
//gcs over s3 support added in 22.6
Expand Down

0 comments on commit f44ee37

Please sign in to comment.