forked from apache/druid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
141 additions
and
0 deletions.
There are no files selected for viewing
141 changes: 141 additions & 0 deletions
141
quidem-it/src/test/quidem/org.apache.druid.quidem.QTest/horizontal-bars_kttm.iq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)<TIMESTAMP '2024-07-10 10:55:00') | ||
GROUP BY (); | ||
!ok | ||
# Wed Jul 10 16:24:06 IST 2024 | ||
SELECT | ||
(COUNT(*)) AS "__VALUE__" | ||
FROM "kttm_nested" AS t | ||
WHERE (TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') | ||
GROUP BY (); | ||
!ok | ||
# Wed Jul 10 16:24:21 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE (TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') | ||
GROUP BY 1 | ||
ORDER BY "count" DESC | ||
LIMIT 1000; | ||
!ok | ||
# Wed Jul 10 16:24:21 IST 2024 | ||
SELECT | ||
(COUNT(*)) AS "__VALUE__" | ||
FROM "kttm_nested" AS t | ||
WHERE ((TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') AND (CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR)='Chrome')) | ||
GROUP BY (); | ||
!ok | ||
# Wed Jul 10 16:24:21 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE ((TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') AND CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) IN ('Mobile Safari','Chrome Mobile','Safari','Firefox','Yandex.Browser','Opera','IE','Mozilla','Silk','Yandex.Browser mobile','Mobile Firefox','Puffin','Chromium','Waterfox','Opera Mobile','PS4 Web browser','Android browser','Sogou Explorer','IE Mobile','Maxthon','PS Vita browser','unknown','','Apple Mail')) | ||
GROUP BY 1; | ||
!ok | ||
# Wed Jul 10 16:24:25 IST 2024 | ||
SELECT | ||
CAST(t."app_version" AS VARCHAR) AS "app_version", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE (TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') | ||
GROUP BY 1 | ||
ORDER BY "count" DESC | ||
LIMIT 10; | ||
!ok | ||
# Wed Jul 10 16:24:25 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE (((TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') AND CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) IN ('Chrome','Mobile Safari','Chrome Mobile','Safari','Firefox','Yandex.Browser','Opera','IE','Mozilla','Silk','Yandex.Browser mobile','Mobile Firefox','Puffin','Chromium','Waterfox','Opera Mobile','PS4 Web browser','Android browser','Sogou Explorer','IE Mobile','Maxthon','PS Vita browser','unknown','','Apple Mail')) AND (CAST(t."app_version" AS VARCHAR)='1.9.6')) | ||
GROUP BY 1; | ||
!ok | ||
# Wed Jul 10 16:24:30 IST 2024 | ||
SELECT | ||
CAST(t."adblock_list" AS VARCHAR) AS "adblock_list", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE (TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') | ||
GROUP BY 1 | ||
ORDER BY "count" DESC | ||
LIMIT 1000; | ||
!ok | ||
# Wed Jul 10 16:24:30 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE (((TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') AND CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) IN ('Chrome','Mobile Safari','Chrome Mobile','Safari','Firefox','Yandex.Browser','Opera','IE','Mozilla','Silk','Yandex.Browser mobile','Mobile Firefox','Puffin','Chromium','Waterfox','Opera Mobile','PS4 Web browser','Android browser','Sogou Explorer','IE Mobile','Maxthon','PS Vita browser','unknown','','Apple Mail')) AND (CAST(t."adblock_list" AS VARCHAR)='NoAdblock')) | ||
GROUP BY 1; | ||
!ok | ||
# Wed Jul 10 16:24:30 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
CAST(t."adblock_list" AS VARCHAR) AS "adblock_list", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE ((((TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') AND CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) IN ('Chrome','Mobile Safari','Chrome Mobile','Safari','Firefox','Yandex.Browser','Opera','IE','Mozilla','Silk','Yandex.Browser mobile','Mobile Firefox','Puffin','Chromium','Waterfox','Opera Mobile','PS4 Web browser','Android browser','Sogou Explorer','IE Mobile','Maxthon','PS Vita browser','unknown','','Apple Mail')) AND (CAST(t."app_version" AS VARCHAR)='1.9.6')) AND CAST(t."adblock_list" AS VARCHAR) IN ('NoAdblock','EasyList','EasyList,AntiAdblockKiller')) | ||
GROUP BY 1,2; | ||
!ok | ||
# Wed Jul 10 16:24:31 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
CAST(t."adblock_list" AS VARCHAR) AS "adblock_list", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE (((TIMESTAMP '2019-08-25 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-26 00:00:00') AND CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) IN ('Chrome','Mobile Safari','Chrome Mobile','Safari','Firefox','Yandex.Browser','Opera','IE','Mozilla','Silk','Yandex.Browser mobile','Mobile Firefox','Puffin','Chromium','Waterfox','Opera Mobile','PS4 Web browser','Android browser','Sogou Explorer','IE Mobile','Maxthon','PS Vita browser','unknown','','Apple Mail')) AND CAST(t."adblock_list" AS VARCHAR) IN ('EasyList','EasyList,AntiAdblockKiller')) | ||
GROUP BY 1,2; | ||
!ok | ||
# Wed Jul 10 16:24:31 IST 2024 | ||
SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'druid'; | ||
!ok | ||
# Wed Jul 10 16:24:36 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
CAST(t."adblock_list" AS VARCHAR) AS "adblock_list", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE (((TIMESTAMP '2019-08-24 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-25 00:00:00') AND CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) IN ('Chrome','Mobile Safari','Chrome Mobile','Safari','Firefox','Yandex.Browser','Opera','IE','Mozilla','Silk','Yandex.Browser mobile','Mobile Firefox','Puffin','Chromium','Waterfox','Opera Mobile','PS4 Web browser','Android browser','Sogou Explorer','IE Mobile','Maxthon','PS Vita browser','unknown','','Apple Mail')) AND CAST(t."adblock_list" AS VARCHAR) IN ('NoAdblock','EasyList','EasyList,AntiAdblockKiller')) | ||
GROUP BY 1,2; | ||
!ok | ||
# Wed Jul 10 16:24:37 IST 2024 | ||
SELECT | ||
CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) AS "Browser", | ||
CAST(t."adblock_list" AS VARCHAR) AS "adblock_list", | ||
(COUNT(*)) AS "count" | ||
FROM "kttm_nested" AS t | ||
WHERE ((((TIMESTAMP '2019-08-24 00:00:00'<=CAST(t."__time" AS TIMESTAMP) AND CAST(t."__time" AS TIMESTAMP)<TIMESTAMP '2019-08-25 00:00:00') AND CAST(JSON_VALUE("t"."agent",'$.browser') AS VARCHAR) IN ('Chrome','Mobile Safari','Chrome Mobile','Safari','Firefox','Yandex.Browser','Opera','IE','Mozilla','Silk','Yandex.Browser mobile','Mobile Firefox','Puffin','Chromium','Waterfox','Opera Mobile','PS4 Web browser','Android browser','Sogou Explorer','IE Mobile','Maxthon','PS Vita browser','unknown','','Apple Mail')) AND (CAST(t."app_version" AS VARCHAR)='1.9.6')) AND CAST(t."adblock_list" AS VARCHAR) IN ('NoAdblock','EasyList','EasyList,AntiAdblockKiller')) | ||
GROUP BY 1,2; | ||
!ok | ||
# Wed Jul 10 16:24:54 IST 2024 | ||
SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'druid'; | ||
!ok | ||
# Wed Jul 10 16:25:31 IST 2024 | ||
SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'druid'; | ||
!ok |