Merge pull request #61390 from peter279k/improve_download_nyc_sh

Add checksum validating before extracting archive
This commit is contained in:
robot-ch-test-poll1 2024-03-15 15:10:07 +04:00 committed by GitHub
commit a2fd65ead3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -248,6 +248,9 @@ Some of the files might not download fully. Check the file sizes and re-download
``` bash
$ curl -O https://datasets.clickhouse.com/trips_mergetree/partitions/trips_mergetree.tar
# Validate the checksum
$ md5sum trips_mergetree.tar
# Checksum should be equal to: f3b8d469b41d9a82da064ded7245d12c
$ tar xvf trips_mergetree.tar -C /var/lib/clickhouse # path to ClickHouse data directory
$ # check permissions of unpacked data, fix if required
$ sudo service clickhouse-server restart