ClickHouse/tests/queries/0_stateless/02564_query_id_header.reference
2023-03-21 14:10:28 +08:00

27 lines
961 B
Plaintext

CREATE TABLE t_query_id_header (a UInt64) ENGINE = Memory
< Content-Type: text/plain; charset=UTF-8
< X-ClickHouse-Query-Id: query_id
< X-ClickHouse-Timezone: timezone
INSERT INTO t_query_id_header VALUES (1)
< Content-Type: text/plain; charset=UTF-8
< X-ClickHouse-Query-Id: query_id
< X-ClickHouse-Timezone: timezone
EXISTS TABLE t_query_id_header
< Content-Type: text/tab-separated-values; charset=UTF-8
< X-ClickHouse-Format: TabSeparated
< X-ClickHouse-Query-Id: query_id
< X-ClickHouse-Timezone: timezone
SELECT * FROM t_query_id_header
< Content-Type: text/tab-separated-values; charset=UTF-8
< X-ClickHouse-Format: TabSeparated
< X-ClickHouse-Query-Id: query_id
< X-ClickHouse-Timezone: timezone
DROP TABLE t_query_id_header
< Content-Type: text/plain; charset=UTF-8
< X-ClickHouse-Query-Id: query_id
< X-ClickHouse-Timezone: timezone
BAD SQL
< Content-Type: text/plain; charset=UTF-8
< X-ClickHouse-Query-Id: query_id
< X-ClickHouse-Timezone: timezone