Update tests/queries/0_stateless/02356_insert_query_log_metrics.sql

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
This commit is contained in:
Ilya Yatsishin 2022-07-15 00:12:38 +02:00 committed by GitHub
parent efb418a7e7
commit d2b7257617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
CREATE TABLE 02356_destination (a Int64, b String) ENGINE = Memory;
INSERT INTO 02356_destination (a, b) SELECT * FROM generateRandom('a Int64, b String') LIMIT 100 SETTINGS max_threads=1, max_block_size=100;
SYSTEM FLUSH LOGS;
SELECT read_rows = written_rows, read_rows = result_rows, read_bytes = written_bytes, read_bytes = result_bytes FROM system.query_log where normalized_query_hash = 1214411238725380014 and type='QueryFinish' order by event_time desc limit 1 FORMAT CSV;