From 8fdc2b33260ef8c02ae79b4d5d98e83df3f233e7 Mon Sep 17 00:00:00 2001 From: Igor Nikonov Date: Fri, 7 Apr 2023 20:06:11 +0000 Subject: [PATCH] Perf test --- tests/performance/reading_from_file.xml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/performance/reading_from_file.xml diff --git a/tests/performance/reading_from_file.xml b/tests/performance/reading_from_file.xml new file mode 100644 index 00000000000..992f1e8acae --- /dev/null +++ b/tests/performance/reading_from_file.xml @@ -0,0 +1,9 @@ + + +INSERT INTO function file(reading_from_file.parquet) SELECT URL FROM test.hits LIMIT 100000 SETTINGS engine_file_truncate_on_insert=1 + +SELECT sum(length(base58Encode(URL))) FROM file(reading_from_file.parquet) FORMAT Null + +INSERT INTO FUNCTION file(reading_from_file.parquet) SELECT * FROM numbers(0) SETTINGS engine_file_truncate_on_insert=1 + +