ClickHouse/tests/queries/0_stateless/01532_clickhouse_local_tmp_folder.sh
2020-12-29 17:57:12 +03:00

10 lines
327 B
Bash
Executable File

#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
# in case when clickhouse-local can't use temp folder it will try to create
# temporary subfolder in the current dir
TMP=/non-existent-folder-12123 ${CLICKHOUSE_LOCAL} -q 'SELECT 1'