This commit is contained in:
Alexey Milovidov 2024-03-24 21:37:21 +01:00
parent baef1cd4d2
commit 5efe36bc7f
2 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@ application/x-www-form-urlencoded
-- Does it work for distributed queries? (not yet, but maybe it will be needed later)
application/x-www-form-urlencoded

View File

@ -34,4 +34,4 @@ ${CLICKHOUSE_CLIENT} --allow_get_client_http_header true --query "SELECT getClie
${CLICKHOUSE_LOCAL} --allow_get_client_http_header true --query "SELECT getClientHTTPHeader('Host')"
echo "-- Does it work for distributed queries? (not yet, but maybe it will be needed later)"
${CLICKHOUSE_CURL} "${CLICKHOUSE_URL}&allow_get_client_http_header=1" -d "SELECT getClientHTTPHeader(name) FROM clusterAllReplicas('test_cluster_one_shard_two_replicas', view(SELECT 'Content-Type' AS name))"
${CLICKHOUSE_CURL} "${CLICKHOUSE_URL}&allow_get_client_http_header=1&prefer_localhost_replica=0" -d "SELECT getClientHTTPHeader(name) FROM clusterAllReplicas('test_cluster_one_shard_two_replicas', view(SELECT 'Content-Type' AS name))"