ClickHouse/tests/queries/0_stateless/helpers/02112_prepare.sh

8 lines
186 B
Bash
Raw Normal View History

2021-10-29 12:04:08 +00:00
#!/usr/bin/env bash
FILE=${CURDIR}/file_02112
if [ -f $FILE ]; then
rm $FILE
fi
echo "drop table if exists t;create table t(i Int32) engine=Memory; insert into t select 1" >> $FILE