Skip to content

Commit bc9f351

Browse files
committed
try to fix
1 parent c02c1f1 commit bc9f351

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/Storages/ObjectStorage/S3/Configuration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ void StorageS3Configuration::fromAST(ASTs & args, ContextPtr context, bool with_
636636
if (auto compression_method_value = getFromPositionOrKeyValue<String>("compression_method", args, engine_args_to_idx, key_value_args);
637637
compression_method_value.has_value())
638638
{
639-
setCompressionMethod(compression_method);
639+
setCompressionMethod(compression_method_value.value());
640640
}
641641

642642
if (auto partition_strategy_value = getFromPositionOrKeyValue<String>("partition_strategy", args, engine_args_to_idx, key_value_args);

tests/integration/test_storage_s3/test.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,20 +2522,6 @@ def test_filesystem_cache(started_cluster):
25222522
f"SELECT ProfileEvents['S3GetObject'] FROM system.query_log WHERE query_id = '{query_id}' AND type = 'QueryFinish'"
25232523
)
25242524
)
2525-
instance.query("SYSTEM FLUSH LOGS")
2526-
2527-
total_count = int(
2528-
instance.query(
2529-
f"SELECT count() FROM system.text_log WHERE query_id = '{query_id}' and message ilike '%Boundary alignment:%'"
2530-
)
2531-
)
2532-
assert total_count > 0
2533-
count = int(
2534-
instance.query(
2535-
f"SELECT count() FROM system.text_log WHERE query_id = '{query_id}' and message ilike '%Boundary alignment: 0%'"
2536-
)
2537-
)
2538-
assert count == total_count
25392525

25402526

25412527
def test_key_value_args(started_cluster):

0 commit comments

Comments
 (0)