Skip to content

Commit

Permalink
fix(ci): fix benchmark ci failure
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang2014 committed Dec 5, 2024
1 parent fd8b259 commit f665079
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion benchmark/clickbench/benchmark_cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f665079

Please sign in to comment.