diff --git a/benchmark/clickbench/benchmark_cloud.sh b/benchmark/clickbench/benchmark_cloud.sh index 0cd06e4c49a9..2cb50967d7f2 100755 --- a/benchmark/clickbench/benchmark_cloud.sh +++ b/benchmark/clickbench/benchmark_cloud.sh @@ -71,13 +71,15 @@ until bendsql --query="SHOW WAREHOUSES LIKE '${CLOUD_WAREHOUSE}'" | grep -q "Run sleep 10 done -export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443/${BENCHMARK_DATABASE}?warehouse=${CLOUD_WAREHOUSE}" +export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443?warehouse=${CLOUD_WAREHOUSE}" if [[ "${BENCHMARK_DATASET}" == "load" ]]; then echo "Creating database..." echo "CREATE DATABASE ${BENCHMARK_DATABASE};" | bendsql --database default fi +export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443/${BENCHMARK_DATABASE}?warehouse=${CLOUD_WAREHOUSE}" + echo "Checking session settings..." bendsql --query="select * from system.settings where value != default;" -o table @@ -117,6 +119,7 @@ for query in "${BENCHMARK_DATASET}"/queries/*.sql; do done echo "Cleaning up..." +export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443?login=disable" if [[ "${BENCHMARK_DATASET}" == "load" ]]; then echo "Dropping database..." echo "DROP DATABASE IF EXISTS ${BENCHMARK_DATABASE};" | bendsql