mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
27 lines
961 B
Plaintext
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
|