mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 20:42:04 +00:00
11 lines
254 B
Bash
11 lines
254 B
Bash
|
#!/bin/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
|