ClickHouse/tests/queries/0_stateless/03228_url_engine_response_headers.sql
2024-09-24 02:57:30 +02:00

8 lines
288 B
SQL

SELECT toTypeName(_headers)
FROM url('http://127.0.0.1:8123/?query=select+1&user=default', LineAsString, 's String');
SELECT
*,
mapFromString(_headers['X-ClickHouse-Summary'])['read_rows']
FROM url('http://127.0.0.1:8123/?query=select+1&user=default', LineAsString, 's String');