From 4ec1f121bb6ed7bfbe883f3e6cf1f2a478218c34 Mon Sep 17 00:00:00 2001 From: Zoltan Haindrich Date: Wed, 10 Jul 2024 13:41:30 +0000 Subject: [PATCH] from sai --- .../horizontal-bars_kttm.iq | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 quidem-it/src/test/quidem/org.apache.druid.quidem.QTest/horizontal-bars_kttm.iq diff --git a/quidem-it/src/test/quidem/org.apache.druid.quidem.QTest/horizontal-bars_kttm.iq b/quidem-it/src/test/quidem/org.apache.druid.quidem.QTest/horizontal-bars_kttm.iq new file mode 100644 index 000000000000..e74ce6b7ac38 --- /dev/null +++ b/quidem-it/src/test/quidem/org.apache.druid.quidem.QTest/horizontal-bars_kttm.iq @@ -0,0 +1,141 @@ +#started Wed Jul 10 16:23:38 IST 2024 +!use druidtest:///?componentSupplier=KttmNestedComponentSupplier +!set outputformat mysql +# Wed Jul 10 16:23:54 IST 2024 +SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'druid'; +!ok +# Wed Jul 10 16:23:54 IST 2024 +SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'druid'; +!ok +# Wed Jul 10 16:24:06 IST 2024 +SELECT +MAX(CAST(t."__time" AS TIMESTAMP)) AS "__VALUE__" +FROM "kttm_nested" AS t +GROUP BY (); +!ok +# Wed Jul 10 16:24:06 IST 2024 +SELECT +MAX(CAST(t."__time" AS TIMESTAMP)) AS "__VALUE__" +FROM "kttm_nested" AS t +GROUP BY (); +!ok +# Wed Jul 10 16:24:06 IST 2024 +SELECT +(COUNT(*)) AS "__VALUE__" +FROM "kttm_nested" AS t +WHERE (TIMESTAMP '2024-07-09 10:55:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)