-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backed table with PARTITION BY (a,b) cannot be deleted from remote #1015
Milestone
Comments
thanks for reporting |
can't reproduce CREATE TABLE t1 (timeStamp DateTime, timePeriod UInt64) ENGINE=MergeTree ORDER BY timeStamp PARTITION BY (toStartOfInterval(timeStamp, toIntervalHour(1)), timePeriod);
INSERT INTO t1 SELECT now()+INTERVAL number MINUTE, number FROM numbers(10); in LOG_LEVEL=debug clickhouse-backup -c /etc/clickhouse-backup/config-s3.yml create test_partition_by
LOG_LEVEL=debug clickhouse-backup -c /etc/clickhouse-backup/config-s3.yml upload test_partition_by
LOG_LEVEL=debug S3_DEBUG=1 clickhouse-backup -c /etc/clickhouse-backup/config-s3.yml delete remote test_partition_by after that ls -la /bitnami/minio/data/clickhouse/ in minio |
I'll check |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a table with a tuple partitioning like this:
PARTITION BY (toStartOfInterval(timeStamp, toIntervalHour(1)), timePeriod)
Partition will look like this:
1727434800-4
and file name generated in bucket isdefault_1727434800%2D4_0_83_14.tar
If we issue
clickhouse-backup delete remote <backupname>
all prefixes in the s3 bucket will be deleted but the one with these filenames.clickhouse-backup 2.6.1
The text was updated successfully, but these errors were encountered: