Skip to content

Commit 098a85f

Browse files
authored
[ch] Fix some s3 replicators (#5744)
I think I had a landrace with myself Tested by backfilling stable_pushes
1 parent f30f489 commit 098a85f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws/lambda/clickhouse-replicator-s3/lambda_function.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def ossci_uploaded_metrics_adapter(table, bucket, key):
408408
`timestamp` DateTime64(9),
409409
`info` String
410410
"""
411-
general_adapter(table, bucket, key, schema, "gzip", "JSONEachRow")
411+
general_adapter(table, bucket, key, schema, ["gzip"], "JSONEachRow")
412412

413413

414414
def stable_pushes_adapter(table, bucket, key):
@@ -417,7 +417,7 @@ def stable_pushes_adapter(table, bucket, key):
417417
`repository` String,
418418
`timestamp` DateTime
419419
"""
420-
general_adapter(table, bucket, key, schema, "none", "JSONEachRow")
420+
general_adapter(table, bucket, key, schema, ["none"], "JSONEachRow")
421421

422422

423423
SUPPORTED_PATHS = {

0 commit comments

Comments
 (0)