No need to create tmp files

This commit is contained in:
Amos Bird 2024-10-30 14:35:06 +08:00
parent 10ee24d9a0
commit bd9cfaecea
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -4,10 +4,4 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
echo "Hello, World!" > 03260_test_data
$CLICKHOUSE_COMPRESSOR --codec 'Delta' --codec 'LZ4' --input '03260_test_data' --output '03260_test_out'
$CLICKHOUSE_COMPRESSOR --stat '03260_test_out'
rm -f 03260_test_data 03260_test_out
echo "Hello, World!" | $CLICKHOUSE_COMPRESSOR --codec 'Delta' --codec 'LZ4' | $CLICKHOUSE_COMPRESSOR --stat