2019-04-27 19:12:35 +00:00
|
|
|
#!/usr/bin/env bash
|
2021-09-12 12:35:27 +00:00
|
|
|
# Tags: long
|
2019-04-27 19:12:35 +00:00
|
|
|
|
|
|
|
# Test fix for issue #5066
|
|
|
|
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
2020-12-28 11:46:53 +00:00
|
|
|
# shellcheck source=../shell_config.sh
|
2020-08-01 00:51:12 +00:00
|
|
|
. "$CURDIR"/../shell_config.sh
|
2019-04-27 19:12:35 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2021-05-22 05:43:24 +00:00
|
|
|
# NOTE: database = $CLICKHOUSE_DATABASE is unwanted
|
2020-08-01 00:40:56 +00:00
|
|
|
for _ in {1..100}; do \
|
2019-04-27 19:12:35 +00:00
|
|
|
$CLICKHOUSE_CLIENT -q "SELECT name FROM system.tables UNION ALL SELECT name FROM system.columns format Null";
|
|
|
|
done
|