mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Added a test from Boris Granveaud
This commit is contained in:
parent
5152cb7e9c
commit
8c850a2e6a
11
dbms/tests/queries/bugs/00840_select_drop.sh
Executable file
11
dbms/tests/queries/bugs/00840_select_drop.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
for i in {1..1000}; do echo "ddl $i"; echo "drop table if exists test.view" | $CLICKHOUSE_CLIENT; echo "create view test.view as select count(*),database,table from system.columns group by database,table" | $CLICKHOUSE_CLIENT; done &
|
||||
for i in {1..1000}; do echo "select $i"; echo "select * from test.view order by table" | $CLICKHOUSE_CLIENT >/dev/null 2>&1 || true; done &
|
||||
|
||||
wait
|
Loading…
Reference in New Issue
Block a user