mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
18 lines
814 B
Bash
Executable File
18 lines
814 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Tags: long
|
|
|
|
CLICKHOUSE_CLIENT_SERVER_LOGS_LEVEL="none"
|
|
# We should have correct env vars from shell_config.sh to run this test
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
# In order to check queries individually (don't stop on the first one that fails):
|
|
#IFS=$'\n'; for I in $(${CURDIR}/00921_datetime64_compatibility.python) ; do unset IFS; ${CLICKHOUSE_CLIENT} --query "${I}"; echo ; done 2>&1;
|
|
|
|
# ${CURDIR}/00921_datetime64_compatibility.python
|
|
|
|
python3 "${CURDIR}"/00921_datetime64_compatibility_long.python \
|
|
| ${CLICKHOUSE_CLIENT} --ignore-error -nm --calculate_text_stack_trace 0 --log-level 'error' 2>&1 \
|
|
| grep -v -e 'Received exception .*$' -e '^(query: ' | sed 's/^\(Code: [0-9]\+\).*$/\1/g'
|