Update 01541_max_memory_usage_for_user.sh

This commit is contained in:
alexey-milovidov 2020-11-04 23:42:17 +03:00 committed by GitHub
parent d7b4e036d2
commit cd19509b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# - one users' query in background (to avoid reseting max_memory_usage_for_user)
# We have to create a separate user to run this tests isolated from other tests.
${CLICKHOUSE_CLIENT} -n --query "DROP USER IF EXISTS test_01541; CREATE USER test_01541; GRANT ALL ON *.* TO test_01541;";
${CLICKHOUSE_CLIENT} -n --allow_introspection_functions 1 --query "DROP USER IF EXISTS test_01541; CREATE USER test_01541; GRANT ALL ON *.* TO test_01541;";
query="SELECT groupArray(repeat('a', 1000)) FROM numbers(10000) GROUP BY number % 10 FORMAT JSON"