mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
12 lines
263 B
Bash
Executable File
12 lines
263 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
for ((p = 2; p <= 10; p++))
|
|
do
|
|
for ((i = 1; i <= 9; i++))
|
|
do
|
|
n=$(( 10**p * i ))
|
|
echo -n "$n "
|
|
clickhouse-client -q "select uniqHLL12(number), uniq(number), uniqCombined(number) from numbers($n);"
|
|
done
|
|
done
|