Created
July 28, 2022 16:37
-
-
Save danwolch/4e774df831556586e31a90db9ed17d77 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
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
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.card Question's average execution duration is 10.4 s; using 'magic' TTL of 34.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.7 s; using 'magic' TTL of 12.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5362/card/5701/query 202 [ASYNC: completed] 6.2 s (17 DB calls) App DB connections: 9/15 Jetty threads: 27/50 (21 idle, 0 queued) (234 total active threads) Queries in flight: 41 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5331/card/5639/query 202 [ASYNC: completed] 6.2 s (17 DB calls) App DB connections: 7/15 Jetty threads: 27/50 (21 idle, 0 queued) (234 total active threads) Queries in flight: 40 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.8 s; using 'magic' TTL of 12.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.card Question's average execution duration is 16.9 s; using 'magic' TTL of 56.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.middleware.cache Query took 554.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.card Question's average execution duration is 6.6 s; using 'magic' TTL of 22.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5378/card/5719/query 202 [ASYNC: completed] 6.4 s (16 DB calls) App DB connections: 9/15 Jetty threads: 21/50 (27 idle, 0 queued) (239 total active threads) Queries in flight: 44 (0 queued); snowflake DB 13 connections: 13/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.7 s; using 'magic' TTL of 19.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:20-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.0 s; using 'magic' TTL of 10.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.card Question's average execution duration is 8.2 s; using 'magic' TTL of 27.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.card Question's average execution duration is 10.4 s; using 'magic' TTL of 34.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 873.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5335/card/5669/query 202 [ASYNC: completed] 6.5 s (16 DB calls) App DB connections: 11/15 Jetty threads: 17/50 (31 idle, 0 queued) (244 total active threads) Queries in flight: 47 (0 queued); snowflake DB 13 connections: 8/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,176: | |
{:source-table 7884} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.8 s; using 'magic' TTL of 19.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 827.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.card Question's average execution duration is 8.0 s; using 'magic' TTL of 26.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 895.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5298/card/5421/query 202 [ASYNC: completed] 6.5 s (16 DB calls) App DB connections: 8/15 Jetty threads: 15/50 (33 idle, 0 queued) (247 total active threads) Queries in flight: 48 (0 queued); snowflake DB 13 connections: 12/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5393/card/5741/query 202 [ASYNC: completed] 6.5 s (16 DB calls) App DB connections: 8/15 Jetty threads: 15/50 (33 idle, 0 queued) (247 total active threads) Queries in flight: 47 (0 queued); snowflake DB 13 connections: 11/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 1.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 1.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5337/card/5671/query 202 [ASYNC: completed] 6.7 s (16 DB calls) App DB connections: 12/15 Jetty threads: 15/50 (33 idle, 0 queued) (247 total active threads) Queries in flight: 46 (0 queued); snowflake DB 13 connections: 10/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 6.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5302/card/5427/query 202 [ASYNC: completed] 6.8 s (16 DB calls) App DB connections: 10/15 Jetty threads: 15/50 (33 idle, 0 queued) (249 total active threads) Queries in flight: 45 (0 queued); snowflake DB 13 connections: 7/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 975.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5351/card/5689/query 202 [ASYNC: completed] 6.5 s (16 DB calls) App DB connections: 11/15 Jetty threads: 15/50 (33 idle, 0 queued) (249 total active threads) Queries in flight: 44 (0 queued); snowflake DB 13 connections: 14/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5293/card/5226/query 202 [ASYNC: completed] 11.1 s (16 DB calls) App DB connections: 10/15 Jetty threads: 15/50 (33 idle, 0 queued) (252 total active threads) Queries in flight: 43 (0 queued); snowflake DB 13 connections: 7/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.cache Query took 1.3 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,176: | |
{:source-table 7884} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5326/card/5377/query 202 [ASYNC: completed] 7.1 s (16 DB calls) App DB connections: 9/15 Jetty threads: 15/50 (33 idle, 0 queued) (235 total active threads) Queries in flight: 42 (0 queued); snowflake DB 13 connections: 9/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:21-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5300/card/5425/query 202 [ASYNC: completed] 6.9 s (17 DB calls) App DB connections: 6/15 Jetty threads: 15/50 (33 idle, 0 queued) (246 total active threads) Queries in flight: 41 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,176: | |
{:source-table 7884} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.2 s; using 'magic' TTL of 13.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 INFO metabase.query-processor.middleware.cache Query took 1.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5444/card/5803/query 202 [ASYNC: completed] 7.6 s (19 DB calls) App DB connections: 8/15 Jetty threads: 14/50 (34 idle, 0 queued) (248 total active threads) Queries in flight: 41 (0 queued); snowflake DB 13 connections: 15/15 (16 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 INFO metabase.query-processor.middleware.cache Query took 1.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5383/card/5724/query 202 [ASYNC: completed] 7.3 s (16 DB calls) App DB connections: 7/15 Jetty threads: 14/50 (34 idle, 0 queued) (249 total active threads) Queries in flight: 40 (0 queued); snowflake DB 13 connections: 15/15 (15 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5384/card/5718/query 202 [ASYNC: completed] 7.8 s (17 DB calls) App DB connections: 5/15 Jetty threads: 14/50 (34 idle, 0 queued) (249 total active threads) Queries in flight: 39 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 INFO metabase.query-processor.middleware.cache Query took 673.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:22-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5380/card/5721/query 202 [ASYNC: completed] 5.5 s (16 DB calls) App DB connections: 7/15 Jetty threads: 14/50 (34 idle, 0 queued) (249 total active threads) Queries in flight: 38 (0 queued); snowflake DB 13 connections: 15/15 (13 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.card Question's average execution duration is 6.0 s; using 'magic' TTL of 20.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.middleware.cache Query took 2.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5382/card/5723/query 202 [ASYNC: completed] 8.2 s (16 DB calls) App DB connections: 7/15 Jetty threads: 13/50 (35 idle, 0 queued) (251 total active threads) Queries in flight: 38 (0 queued); snowflake DB 13 connections: 15/15 (2 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5379/card/5720/query 202 [ASYNC: completed] 8.6 s (16 DB calls) App DB connections: 8/15 Jetty threads: 13/50 (35 idle, 0 queued) (252 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 15/15 (13 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/8292/card/8140/query 202 [ASYNC: completed] 8.7 s (16 DB calls) App DB connections: 7/15 Jetty threads: 13/50 (35 idle, 0 queued) (252 total active threads) Queries in flight: 36 (0 queued); snowflake DB 13 connections: 15/15 (14 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.9 s; using 'magic' TTL of 16.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.middleware.cache Query took 3.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5345/card/5679/query 202 [ASYNC: completed] 9.0 s (16 DB calls) App DB connections: 8/15 Jetty threads: 12/50 (36 idle, 0 queued) (257 total active threads) Queries in flight: 36 (0 queued); snowflake DB 13 connections: 15/15 (3 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 INFO metabase.query-processor.middleware.cache Query took 3.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:23-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5343/card/5677/query 202 [ASYNC: completed] 8.9 s (16 DB calls) App DB connections: 7/15 Jetty threads: 12/50 (36 idle, 0 queued) (259 total active threads) Queries in flight: 35 (0 queued); snowflake DB 13 connections: 15/15 (4 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.middleware.cache Query took 2.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5385/card/5717/query 202 [ASYNC: completed] 9.4 s (16 DB calls) App DB connections: 6/15 Jetty threads: 12/50 (36 idle, 0 queued) (261 total active threads) Queries in flight: 34 (0 queued); snowflake DB 13 connections: 15/15 (16 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.4 s; using 'magic' TTL of 8.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.0 s; using 'magic' TTL of 13.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 7.8 s; using 'magic' TTL of 26.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5381/card/5722/query 202 [ASYNC: completed] 4.3 s (17 DB calls) App DB connections: 6/15 Jetty threads: 9/50 (39 idle, 0 queued) (264 total active threads) Queries in flight: 36 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.8 s; using 'magic' TTL of 12.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 14.8 s; using 'magic' TTL of 49.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.3 s; using 'magic' TTL of 10.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.1 s; using 'magic' TTL of 17.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.3 s; using 'magic' TTL of 14.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,176: | |
{:source-table 7884} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/6202/card/5678/query 202 [ASYNC: completed] 4.5 s (17 DB calls) App DB connections: 8/15 Jetty threads: 3/50 (45 idle, 0 queued) (264 total active threads) Queries in flight: 41 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5336/card/5670/query 202 [ASYNC: completed] 4.5 s (17 DB calls) App DB connections: 5/15 Jetty threads: 3/50 (45 idle, 0 queued) (264 total active threads) Queries in flight: 40 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.middleware.cache Query took 4.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5307/card/5464/query 202 [ASYNC: completed] 10.3 s (16 DB calls) App DB connections: 7/15 Jetty threads: 3/50 (45 idle, 0 queued) (264 total active threads) Queries in flight: 39 (0 queued); snowflake DB 13 connections: 15/15 (10 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5700/card/5378/query 202 [ASYNC: completed] 10.3 s (17 DB calls) App DB connections: 6/15 Jetty threads: 3/50 (45 idle, 0 queued) (264 total active threads) Queries in flight: 38 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:24-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.0 s; using 'magic' TTL of 10.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5699/card/5379/query 202 [ASYNC: completed] 10.0 s (17 DB calls) App DB connections: 3/15 Jetty threads: 3/50 (45 idle, 0 queued) (264 total active threads) Queries in flight: 37 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,176: | |
{:source-table 7884} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 INFO metabase.query-processor.middleware.cache Query took 2.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5267/card/5324/query 202 [ASYNC: completed] 15.1 s (17 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (234 total active threads) Queries in flight: 37 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5285/card/5380/query 202 [ASYNC: completed] 15.1 s (25 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (234 total active threads) Queries in flight: 36 (0 queued); snowflake DB 13 connections: 15/15 (8 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 INFO metabase.query-processor.middleware.cache Query took 4.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5304/card/5429/query 202 [ASYNC: completed] 10.8 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (235 total active threads) Queries in flight: 35 (0 queued); snowflake DB 13 connections: 15/15 (16 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 INFO metabase.query-processor.middleware.cache Query took 5.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:25-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/6203/card/6365/query 202 [ASYNC: completed] 11.2 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (235 total active threads) Queries in flight: 34 (0 queued); snowflake DB 13 connections: 6/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Query took 1.3 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5333/card/5667/query 202 [ASYNC: completed] 5.7 s (16 DB calls) App DB connections: 4/15 Jetty threads: 2/50 (46 idle, 0 queued) (237 total active threads) Queries in flight: 33 (0 queued); snowflake DB 13 connections: 15/15 (10 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Caching results for next time for query with hash "b3efe65c". 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Query took 10.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5305/card/5462/query 202 [ASYNC: completed] 15.6 s (18 DB calls) App DB connections: 5/15 Jetty threads: 2/50 (46 idle, 0 queued) (239 total active threads) Queries in flight: 32 (0 queued); snowflake DB 13 connections: 15/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Query took 11.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Caching results for next time for query with hash "9e022e6a". 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5329/card/5272/query 202 [ASYNC: completed] 15.8 s (18 DB calls) App DB connections: 5/15 Jetty threads: 2/50 (46 idle, 0 queued) (242 total active threads) Queries in flight: 31 (0 queued); snowflake DB 13 connections: 2/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Query took 1.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5332/card/5666/query 202 [ASYNC: completed] 6.3 s (16 DB calls) App DB connections: 4/15 Jetty threads: 2/50 (46 idle, 0 queued) (243 total active threads) Queries in flight: 30 (0 queued); snowflake DB 13 connections: 15/15 (9 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Query took 1.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5306/card/5463/query 202 [ASYNC: completed] 6.5 s (16 DB calls) App DB connections: 4/15 Jetty threads: 2/50 (46 idle, 0 queued) (245 total active threads) Queries in flight: 29 (0 queued); snowflake DB 13 connections: 15/15 (10 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Query took 3.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/8492/card/4240/query 202 [ASYNC: completed] 8.1 s (16 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (246 total active threads) Queries in flight: 28 (0 queued); snowflake DB 13 connections: 15/15 (7 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 INFO metabase.query-processor.middleware.cache Query took 2.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:26-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5287/card/5390/query 202 [ASYNC: completed] 6.8 s (16 DB calls) App DB connections: 5/15 Jetty threads: 2/50 (46 idle, 0 queued) (250 total active threads) Queries in flight: 27 (0 queued); snowflake DB 13 connections: 15/15 (8 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 11.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Caching results for next time for query with hash "87df92a3". 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 6.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5350/card/5316/query 202 [ASYNC: completed] 16.5 s (18 DB calls) App DB connections: 4/15 Jetty threads: 2/50 (46 idle, 0 queued) (250 total active threads) Queries in flight: 26 (0 queued); snowflake DB 13 connections: 6/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 2.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5310/card/5469/query 202 [ASYNC: completed] 12.5 s (16 DB calls) App DB connections: 4/15 Jetty threads: 2/50 (46 idle, 0 queued) (250 total active threads) Queries in flight: 25 (0 queued); snowflake DB 13 connections: 15/15 (1 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5322/card/5540/query 202 [ASYNC: completed] 16.6 s (26 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (250 total active threads) Queries in flight: 24 (0 queued); snowflake DB 13 connections: 15/15 (11 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 8.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5268/card/5325/query 202 [ASYNC: completed] 12.7 s (17 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (252 total active threads) Queries in flight: 23 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5328/card/5349/query 202 [ASYNC: completed] 14.2 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (255 total active threads) Queries in flight: 22 (0 queued); snowflake DB 13 connections: 5/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 6.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5338/card/5672/query 202 [ASYNC: completed] 12.6 s (16 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (255 total active threads) Queries in flight: 21 (0 queued); snowflake DB 13 connections: 15/15 (6 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 2.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5334/card/5668/query 202 [ASYNC: completed] 7.2 s (16 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (257 total active threads) Queries in flight: 20 (0 queued); snowflake DB 13 connections: 15/15 (6 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 6.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5360/card/5699/query 202 [ASYNC: completed] 12.7 s (16 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (258 total active threads) Queries in flight: 19 (0 queued); snowflake DB 13 connections: 15/15 (9 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 7.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5339/card/5673/query 202 [ASYNC: completed] 12.9 s (16 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (260 total active threads) Queries in flight: 18 (0 queued); snowflake DB 13 connections: 15/15 (8 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5317/card/5513/query 202 [ASYNC: completed] 12.8 s (17 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (260 total active threads) Queries in flight: 17 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 889.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5323/card/5541/query 202 [ASYNC: completed] 12.9 s (26 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (260 total active threads) Queries in flight: 16 (0 queued); snowflake DB 13 connections: 15/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 INFO metabase.query-processor.middleware.cache Query took 7.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:27-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/6201/card/5400/query 202 [ASYNC: completed] 13.3 s (16 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (261 total active threads) Queries in flight: 15 (0 queued); snowflake DB 13 connections: 15/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:28-04:00 INFO metabase.query-processor.middleware.cache Query took 562.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:28-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5442/card/4363/query 202 [ASYNC: completed] 10.1 s (24 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (262 total active threads) Queries in flight: 14 (0 queued); snowflake DB 13 connections: 11/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:28-04:00 INFO metabase.query-processor.middleware.cache Query took 6.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:28-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5701/card/5372/query 202 [ASYNC: completed] 12.6 s (16 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (262 total active threads) Queries in flight: 13 (0 queued); snowflake DB 13 connections: 15/15 (16 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:28-04:00 INFO metabase.query-processor.middleware.cache Query took 7.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:28-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5316/card/5512/query 202 [ASYNC: completed] 13.6 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (263 total active threads) Queries in flight: 12 (0 queued); snowflake DB 13 connections: 15/15 (15 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 INFO metabase.query-processor.middleware.cache Query took 4.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/6188/card/6293/query 202 [ASYNC: completed] 8.8 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (264 total active threads) Queries in flight: 11 (0 queued); snowflake DB 13 connections: 15/15 (7 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 INFO metabase.query-processor.middleware.cache Query took 8.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5347/card/5365/query 202 [ASYNC: completed] 14.1 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (264 total active threads) Queries in flight: 10 (0 queued); snowflake DB 13 connections: 15/15 (12 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 INFO metabase.query-processor.middleware.cache Query took 8.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5348/card/5322/query 202 [ASYNC: completed] 14.5 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (264 total active threads) Queries in flight: 9 (0 queued); snowflake DB 13 connections: 15/15 (11 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:29-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5319/card/4212/query 202 [ASYNC: completed] 14.6 s (25 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (233 total active threads) Queries in flight: 8 (0 queued); snowflake DB 13 connections: 9/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:30-04:00 INFO metabase.query-processor.middleware.cache Query took 9.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:30-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/6187/card/4033/query 202 [ASYNC: completed] 15.3 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (233 total active threads) Queries in flight: 7 (0 queued); snowflake DB 13 connections: 15/15 (5 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:30-04:00 INFO metabase.query-processor.middleware.cache Caching results for next time for query with hash "912e5c31". 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:30-04:00 INFO metabase.query-processor.middleware.cache Query took 10.3 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:30-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5349/card/5368/query 202 [ASYNC: completed] 16.0 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (233 total active threads) Queries in flight: 6 (0 queued); snowflake DB 13 connections: 15/15 (7 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:32-04:00 INFO metabase.query-processor.middleware.cache Caching results for next time for query with hash "e5207703". 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:32-04:00 INFO metabase.query-processor.middleware.cache Query took 11.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:32-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5324/card/1894/query 202 [ASYNC: completed] 17.5 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (232 total active threads) Queries in flight: 5 (0 queued); snowflake DB 13 connections: 5/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 INFO metabase.query-processor.middleware.cache Query took 4.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5369/card/5708/query 202 [ASYNC: completed] 23.0 s (30 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (243 total active threads) Queries in flight: 4 (0 queued); snowflake DB 13 connections: 1/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 INFO metabase.query-processor.middleware.cache Query took 5.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5282/card/4418/query 202 [ASYNC: completed] 22.9 s (30 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (243 total active threads) Queries in flight: 3 (0 queued); snowflake DB 13 connections: 2/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 INFO metabase.query-processor.middleware.cache Query took 3.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5672/card/5899/query 202 [ASYNC: completed] 18.8 s (30 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (233 total active threads) Queries in flight: 2 (0 queued); snowflake DB 13 connections: 4/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 INFO metabase.query-processor.middleware.cache Query took 3.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 INFO metabase.query-processor.middleware.cache Query took 2.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5327/card/5559/query 202 [ASYNC: completed] 18.9 s (30 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (233 total active threads) Queries in flight: 1 (0 queued); snowflake DB 13 connections: 3/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:11:33-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5312/card/5485/query 202 [ASYNC: completed] 13.6 s (30 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (46 idle, 0 queued) (233 total active threads) Queries in flight: 0 (0 queued); snowflake DB 13 connections: 5/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:12:26-04:00 DEBUG metabase.server.middleware.log POST /api/session 200 123.6 ms (7 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (44 idle, 0 queued) (203 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:05-04:00 DEBUG metabase.server.middleware.log GET /api/user/current 200 5.7 ms (4 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (43 idle, 0 queued) (167 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:05-04:00 DEBUG metabase.server.middleware.log GET /api/session/properties 200 12.5 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (44 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:05-04:00 DEBUG metabase.server.middleware.log GET /api/database 200 127.1 ms (3 DB calls) App DB connections: 2/15 Jetty threads: 5/50 (42 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:05-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root/items 200 158.7 ms (6 DB calls) App DB connections: 0/15 Jetty threads: 5/50 (42 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:05-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root/items 200 213.9 ms (15 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (43 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/dashboard/161 200 188.7 ms (60 DB calls) App DB connections: 1/15 Jetty threads: 3/50 (44 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/145623 200 10.3 ms (6 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (44 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/145376 200 10.0 ms (6 DB calls) App DB connections: 0/15 Jetty threads: 6/50 (42 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/144589 200 11.9 ms (6 DB calls) App DB connections: 2/15 Jetty threads: 5/50 (42 idle, 0 queued) (168 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/144204 200 10.6 ms (6 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (43 idle, 0 queued) (169 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/143695 200 14.1 ms (6 DB calls) App DB connections: 3/15 Jetty threads: 11/50 (37 idle, 0 queued) (169 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/145992 200 13.3 ms (6 DB calls) App DB connections: 4/15 Jetty threads: 9/50 (37 idle, 0 queued) (169 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/145311 200 14.8 ms (6 DB calls) App DB connections: 4/15 Jetty threads: 10/50 (37 idle, 0 queued) (169 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/144933 200 13.1 ms (6 DB calls) App DB connections: 4/15 Jetty threads: 10/50 (37 idle, 0 queued) (169 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/144932 200 13.8 ms (6 DB calls) App DB connections: 4/15 Jetty threads: 11/50 (36 idle, 0 queued) (172 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/143579 200 14.6 ms (6 DB calls) App DB connections: 3/15 Jetty threads: 11/50 (36 idle, 0 queued) (172 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/143583 200 13.7 ms (6 DB calls) App DB connections: 1/15 Jetty threads: 11/50 (36 idle, 0 queued) (173 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/144437 200 11.7 ms (6 DB calls) App DB connections: 1/15 Jetty threads: 11/50 (36 idle, 0 queued) (173 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/field/146303 200 36.2 ms (6 DB calls) App DB connections: 2/15 Jetty threads: 10/50 (36 idle, 0 queued) (176 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:07-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root 200 6.4 ms (2 DB calls) App DB connections: 10/15 Jetty threads: 30/50 (18 idle, 0 queued) (177 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:08-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.9 s; using 'magic' TTL of 6.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.8 s; using 'magic' TTL of 6.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 6.3 s; using 'magic' TTL of 21.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.9 s; using 'magic' TTL of 6.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.4 s; using 'magic' TTL of 4.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.8 s; using 'magic' TTL of 5.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.5 s; using 'magic' TTL of 5.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 26.2 s; using 'magic' TTL of 1.5 hours 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.1 s; using 'magic' TTL of 3.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.3 s; using 'magic' TTL of 4.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.4 s; using 'magic' TTL of 4.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.3 s; using 'magic' TTL of 4.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.8 s; using 'magic' TTL of 6.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.4 s; using 'magic' TTL of 4.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.5 s; using 'magic' TTL of 4.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 26.6 s; using 'magic' TTL of 1.5 hours 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.4 s; using 'magic' TTL of 4.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.5 s; using 'magic' TTL of 4.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.9 s; using 'magic' TTL of 6.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 20.6 s; using 'magic' TTL of 1.1 hours 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.3 s; using 'magic' TTL of 7.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.3 s; using 'magic' TTL of 4.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.4 s; using 'magic' TTL of 14.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 17.4 s; using 'magic' TTL of 58.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1884/card/2974/query 202 [ASYNC: completed] 2.7 s (18 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (44 idle, 0 queued) (238 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 3/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4658/card/4404/query 202 [ASYNC: completed] 2.7 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (238 total active threads) Queries in flight: 36 (0 queued); snowflake DB 13 connections: 11/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4665/card/4405/query 202 [ASYNC: completed] 3.0 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (242 total active threads) Queries in flight: 35 (0 queued); snowflake DB 13 connections: 6/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1866/card/3033/query 202 [ASYNC: completed] 3.1 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (242 total active threads) Queries in flight: 34 (0 queued); snowflake DB 13 connections: 14/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1874/card/2967/query 202 [ASYNC: completed] 3.1 s (18 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (44 idle, 0 queued) (242 total active threads) Queries in flight: 33 (0 queued); snowflake DB 13 connections: 4/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4653/card/4399/query 202 [ASYNC: completed] 3.1 s (16 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (44 idle, 0 queued) (242 total active threads) Queries in flight: 32 (0 queued); snowflake DB 13 connections: 7/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4654/card/4408/query 202 [ASYNC: completed] 3.1 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (243 total active threads) Queries in flight: 31 (0 queued); snowflake DB 13 connections: 13/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1870/card/3041/query 202 [ASYNC: completed] 3.2 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (243 total active threads) Queries in flight: 30 (0 queued); snowflake DB 13 connections: 9/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1879/card/3008/query 202 [ASYNC: completed] 3.2 s (17 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (244 total active threads) Queries in flight: 29 (0 queued); snowflake DB 13 connections: 5/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/8297/card/8191/query 202 [ASYNC: completed] 3.1 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (247 total active threads) Queries in flight: 28 (0 queued); snowflake DB 13 connections: 2/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4670/card/4455/query 202 [ASYNC: completed] 3.2 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (253 total active threads) Queries in flight: 27 (0 queued); snowflake DB 13 connections: 8/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/8295/card/8190/query 202 [ASYNC: completed] 3.2 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (256 total active threads) Queries in flight: 26 (0 queued); snowflake DB 13 connections: 1/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 1.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4660/card/4321/query 202 [ASYNC: completed] 3.4 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (258 total active threads) Queries in flight: 25 (0 queued); snowflake DB 13 connections: 15/15 (22 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1913/card/3153/query 202 [ASYNC: completed] 3.5 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (259 total active threads) Queries in flight: 24 (0 queued); snowflake DB 13 connections: 12/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4655/card/4400/query 202 [ASYNC: completed] 3.6 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (265 total active threads) Queries in flight: 23 (0 queued); snowflake DB 13 connections: 15/15 (20 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4651/card/4869/query 202 [ASYNC: completed] 3.8 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (267 total active threads) Queries in flight: 22 (0 queued); snowflake DB 13 connections: 15/15 (1 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1885/card/2997/query 202 [ASYNC: completed] 3.8 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (268 total active threads) Queries in flight: 21 (0 queued); snowflake DB 13 connections: 15/15 (2 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1889/card/3018/query 202 [ASYNC: completed] 4.0 s (16 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (44 idle, 0 queued) (272 total active threads) Queries in flight: 20 (0 queued); snowflake DB 13 connections: 15/15 (19 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4661/card/4409/query 202 [ASYNC: completed] 3.9 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (272 total active threads) Queries in flight: 19 (0 queued); snowflake DB 13 connections: 15/15 (3 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4800/card/5347/query 202 [ASYNC: completed] 3.9 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (272 total active threads) Queries in flight: 18 (0 queued); snowflake DB 13 connections: 10/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4663/card/4406/query 202 [ASYNC: completed] 4.0 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (272 total active threads) Queries in flight: 17 (0 queued); snowflake DB 13 connections: 15/15 (5 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4657/card/3841/query 202 [ASYNC: completed] 4.0 s (18 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (44 idle, 0 queued) (274 total active threads) Queries in flight: 16 (0 queued); snowflake DB 13 connections: 15/15 (16 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4662/card/4403/query 202 [ASYNC: completed] 4.0 s (17 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (44 idle, 0 queued) (274 total active threads) Queries in flight: 15 (0 queued); snowflake DB 13 connections: 15/15 (15 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/8298/card/8192/query 202 [ASYNC: completed] 4.0 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (274 total active threads) Queries in flight: 14 (0 queued); snowflake DB 13 connections: 15/15 (21 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4835/card/5385/query 202 [ASYNC: completed] 4.1 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (276 total active threads) Queries in flight: 13 (0 queued); snowflake DB 13 connections: 0/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4666/card/4515/query 202 [ASYNC: completed] 4.1 s (19 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (276 total active threads) Queries in flight: 12 (0 queued); snowflake DB 13 connections: 15/15 (17 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 2.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4659/card/4410/query 202 [ASYNC: completed] 4.3 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 11 (0 queued); snowflake DB 13 connections: 15/15 (8 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 3.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4664/card/3945/query 202 [ASYNC: completed] 4.4 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 10 (0 queued); snowflake DB 13 connections: 15/15 (9 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 3.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4688/card/3006/query 202 [ASYNC: completed] 4.4 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 9 (0 queued); snowflake DB 13 connections: 15/15 (14 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 3.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/1887/card/3020/query 202 [ASYNC: completed] 4.5 s (18 DB calls) App DB connections: 3/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 8 (0 queued); snowflake DB 13 connections: 15/15 (13 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 3.3 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4834/card/5384/query 202 [ASYNC: completed] 4.7 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 7 (0 queued); snowflake DB 13 connections: 15/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 3.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4652/card/4407/query 202 [ASYNC: completed] 4.8 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 6 (0 queued); snowflake DB 13 connections: 15/15 (10 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 3.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4836/card/5386/query 202 [ASYNC: completed] 4.8 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 5 (0 queued); snowflake DB 13 connections: 15/15 (7 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 INFO metabase.query-processor.middleware.cache Query took 3.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4976/card/5507/query 202 [ASYNC: completed] 5.0 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 4 (0 queued); snowflake DB 13 connections: 15/15 (12 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:45-04:00 INFO metabase.query-processor.middleware.cache Caching results for next time for query with hash "13efb21f". 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:45-04:00 INFO metabase.query-processor.middleware.cache Query took 36.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:14:45-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4669/card/4375/query 202 [ASYNC: completed] 37.7 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 3 (0 queued); snowflake DB 13 connections: 15/15 (4 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:08-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4668/card/4431/query 202 [ASYNC: canceled] 1.0 mins (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (283 total active threads) Queries in flight: 1 (0 queued); snowflake DB 13 connections: 15/15 (11 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:08-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4975/card/5505/query 202 [ASYNC: canceled] 1.0 mins (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (283 total active threads) Queries in flight: 1 (0 queued); snowflake DB 13 connections: 15/15 (18 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:08-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/161/dashcard/4671/card/4318/query 202 [ASYNC: canceled] 1.0 mins (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (283 total active threads) Queries in flight: 0 (0 queued); snowflake DB 13 connections: 15/15 (6 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:09-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:14:09.275454Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 88 queryType: native queryHash: 607765ebd7969f189acea4b72aded95472928f2a4dabfe224a0de4105e51c89a\nwith calendar as (\n\n select \n day, \n date_trunc('day',starts_at) as spring2022_starts_at, \n date_trunc( 'day', ends_at) as spring2022_ends_at, \n date_trunc('day', enrollments_open_at) as spring2022_enrollment_starts_at ,\n day - spring2022_starts_at::date as kickoff_offset_days\n from core.calendar c\n cross join stitch_ingest.reforge_production.seasons s \n where (day between enrollments_open_at - interval '1 day' and current_date() )\n and name = ?\n),\n\nenrollments as (\n\n select \n user_id,\n season_id, \n season_name ,\n cohort_id,\n cms_program_name,\n cms_program_id,\n enrolled_at\n from cohort.COHORT_USER_ENROLLMENT cue \n where season_name= ?\n),\n\nenrolled_program_content as ( -- for each user-enrollment - list lessons required for their enrolled program \n\n select \n e.*,\n week as cohort_week,\n week_title as cohort_week_title,\n starts_at as cohort_week_starts_at,\n ends_at as cohort_week_ends_at ,\n cms_module_id,\n cms_module_name,\n cms_section_id,\n cms_section_name, \n COUNTS_TOWARDS_COMPLETION,\n count( distinct cms_section_id) over(partition by cpc.cohort_id, cohort_week, cms_module_id, COUNTS_TOWARDS_COMPLETION) as lesson_count_by_module,\n count ( distinct cms_section_id ) over( partition by cpc.cohort_id, cohort_week, COUNTS_TOWARDS_COMPLETION ) as lesson_count_by_week\n from enrollments e \n left join cohort.COHORT_PROGRAM_CONTENT cpc \n on e.cohort_id = cpc.cohort_id\n where COUNTS_TOWARDS_COMPLETION and IS_PUBLISHED\n order by user_id, season_id, cms_module_id, cms_section_id\n\n),\n\ncalendar_times_enrolled_program_content as (\n\n select * \n from calendar \n cross join enrolled_program_content\n order by user_id, season_id, day, cms_module_id, cms_section_id\n\n),\n\nuser_daily_cohort_lesson_completion as (\n\n select \n c.*,\n uca.created_at as completed_at,\n uca.id is not null as completed_lesson_before_day\n from calendar_times_enrolled_program_content c \n left join stitch_ingest.reforge_production.user_cms_activities uca \n on c.user_id = uca.user_id \n and c.cms_program_id = uca.cms_program_id\n and c.cms_section_id = uca.cms_section_id\n and uca.action = 'completed'\n and uca.created_at < c.day \n\n),\n\nuser_daily_cohort_module_completion as (\n\nselect \n user_id,\n season_id,\n season_name,\n day,\n cohort_week_title,\n cohort_week,\n avg(completed_lesson_before_day::int) as pct_week_completed_before_day\nfrom user_daily_cohort_lesson_completion\ngroup by 1,2,3,4,5,6\norder by user_id,day, cohort_week\n\n)\n\nselect \n cohort_week as scheduled_content_week,\n date_trunc('week', day) as user_activity_week,\n datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) as cohort_week ,\n 100*avg(pct_week_completed_before_day) as \"Avg Pct Completed Before Date\"\nfrom user_daily_cohort_module_completion u \ninner join cohort.season_outline s \n on u.day >= s.enrollment_opens_at and u.day<= s.ends_at + interval '15 days' and s.season_name = ?\ngroup by 1,2,3\nhaving datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) >-5\norder by 3, 1", | |
:params ["2022-summer" "2022-summer" "2022-summer"], | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with calendar as (\n\n select \n day, \n date_trunc('day',starts_at) as spring2022_starts_at, \n date_trunc( 'day', ends_at) as spring2022_ends_at, \n date_trunc('day', enrollments_open_at) as spring2022_enrollment_starts_at ,\n day - spring2022_starts_at::date as kickoff_offset_days\n from core.calendar c\n cross join stitch_ingest.reforge_production.seasons s \n where (day between enrollments_open_at - interval '1 day' and current_date() )\n and name = {{season_name}}\n),\n\nenrollments as (\n\n select \n user_id,\n season_id, \n season_name ,\n cohort_id,\n cms_program_name,\n cms_program_id,\n enrolled_at\n from cohort.COHORT_USER_ENROLLMENT cue \n where season_name= {{season_name}}\n),\n\nenrolled_program_content as ( -- for each user-enrollment - list lessons required for their enrolled program \n\n select \n e.*,\n week as cohort_week,\n week_title as cohort_week_title,\n starts_at as cohort_week_starts_at,\n ends_at as cohort_week_ends_at ,\n cms_module_id,\n cms_module_name,\n cms_section_id,\n cms_section_name, \n COUNTS_TOWARDS_COMPLETION,\n count( distinct cms_section_id) over(partition by cpc.cohort_id, cohort_week, cms_module_id, COUNTS_TOWARDS_COMPLETION) as lesson_count_by_module,\n count ( distinct cms_section_id ) over( partition by cpc.cohort_id, cohort_week, COUNTS_TOWARDS_COMPLETION ) as lesson_count_by_week\n from enrollments e \n left join cohort.COHORT_PROGRAM_CONTENT cpc \n on e.cohort_id = cpc.cohort_id\n where COUNTS_TOWARDS_COMPLETION and IS_PUBLISHED\n order by user_id, season_id, cms_module_id, cms_section_id\n\n),\n\ncalendar_times_enrolled_program_content as (\n\n select * \n from calendar \n cross join enrolled_program_content\n order by user_id, season_id, day, cms_module_id, cms_section_id\n\n),\n\nuser_daily_cohort_lesson_completion as (\n\n select \n c.*,\n uca.created_at as completed_at,\n uca.id is not null as completed_lesson_before_day\n from calendar_times_enrolled_program_content c \n left join stitch_ingest.reforge_production.user_cms_activities uca \n on c.user_id = uca.user_id \n and c.cms_program_id = uca.cms_program_id\n and c.cms_section_id = uca.cms_section_id\n and uca.action = 'completed'\n and uca.created_at < c.day \n\n),\n\nuser_daily_cohort_module_completion as (\n\nselect \n user_id,\n season_id,\n season_name,\n day,\n cohort_week_title,\n cohort_week,\n avg(completed_lesson_before_day::int) as pct_week_completed_before_day\nfrom user_daily_cohort_lesson_completion\ngroup by 1,2,3,4,5,6\norder by user_id,day, cohort_week\n\n)\n\nselect \n cohort_week as scheduled_content_week,\n date_trunc('week', day) as user_activity_week,\n datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) as cohort_week ,\n 100*avg(pct_week_completed_before_day) as \"Avg Pct Completed Before Date\"\nfrom user_daily_cohort_module_completion u \ninner join cohort.season_outline s \n on u.day >= s.enrollment_opens_at and u.day<= s.ends_at + interval '15 days' and s.season_name = {{season_name}}\ngroup by 1,2,3\nhaving datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) >-5\norder by 3, 1\n", | |
:template-tags | |
{"season_name" | |
{:id "b11201c7-05f9-76d3-eb4a-dae2b4436c76", | |
:name "season_name", | |
:display-name "Season name", | |
:type :text, | |
:required true, | |
:default "2022-spring"}}}, | |
:database 13, | |
:parameters | |
[{:type :string/=, :value ["2022-summer"], :target [:variable [:template-tag "season_name"]], :id "7e719727"}], | |
:async? true, | |
:cache-ttl 4111}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:238)" | |
"net.snowflake.client.jdbc.SnowflakePreparedStatementV1.executeQuery(SnowflakePreparedStatementV1.java:117)" | |
"com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:1471)" | |
"--> driver.sql_jdbc.execute$fn__53219.invokeStatic(execute.clj:364)" | |
"driver.sql_jdbc.execute$fn__53219.invoke(execute.clj:362)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:377)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 4431, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:09-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:14:09.296646Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 88 queryType: native queryHash: 79b64585a0c36efee67c343b9a18d8f13871f7b458544dab0beb5f807d404e34\nwith calendar as (\n\n select \n day, \n date_trunc('day',starts_at) as spring2022_starts_at, \n date_trunc( 'day', ends_at) as spring2022_ends_at, \n date_trunc('day', enrollments_open_at) as spring2022_enrollment_starts_at ,\n day - spring2022_starts_at::date as kickoff_offset_days\n from core.calendar c\n cross join stitch_ingest.reforge_production.seasons s \n where (day between enrollments_open_at - interval '1 day' and current_date() )\n and name = '2021-fall'\n),\n\nenrollments as (\n\n select \n user_id,\n season_id, \n season_name ,\n cohort_id,\n cms_program_name,\n cms_program_id,\n enrolled_at\n from cohort.COHORT_USER_ENROLLMENT cue \n where season_name = '2021-fall' \n),\n\nenrolled_program_content as ( -- for each user-enrollment - list lessons required for their enrolled program \n\n select \n e.*,\n week as cohort_week,\n week_title as cohort_week_title,\n starts_at as cohort_week_starts_at,\n ends_at as cohort_week_ends_at ,\n cms_module_id,\n cms_module_name,\n cms_section_id,\n cms_section_name, \n COUNTS_TOWARDS_COMPLETION,\n count( distinct cms_section_id) over(partition by cpc.cohort_id, cohort_week, cms_module_id, COUNTS_TOWARDS_COMPLETION) as lesson_count_by_module,\n count ( distinct cms_section_id ) over( partition by cpc.cohort_id, cohort_week, COUNTS_TOWARDS_COMPLETION ) as lesson_count_by_week\n from enrollments e \n left join cohort.COHORT_PROGRAM_CONTENT cpc \n on e.cohort_id = cpc.cohort_id\n where COUNTS_TOWARDS_COMPLETION and IS_PUBLISHED\n order by user_id, season_id, cms_module_id, cms_section_id\n\n),\n\ncalendar_times_enrolled_program_content as (\n\n select * \n from calendar \n cross join enrolled_program_content\n order by user_id, season_id, day, cms_module_id, cms_section_id\n\n),\n\nuser_daily_cohort_lesson_completion as (\n\n select \n c.*,\n uca.created_at as completed_at,\n uca.id is not null as completed_lesson_before_day\n from calendar_times_enrolled_program_content c \n left join stitch_ingest.reforge_production.user_cms_activities uca \n on c.user_id = uca.user_id \n and c.cms_program_id = uca.cms_program_id\n and c.cms_section_id = uca.cms_section_id\n and uca.action = 'completed'\n and uca.created_at < c.day \n\n),\n\nuser_daily_cohort_module_completion as (\n\nselect \nuser_id,\n season_id,\n season_name,\n day,\n cohort_week_title,\n cohort_week,\n avg(completed_lesson_before_day::int) as pct_week_completed_before_day,\n pct_week_completed_before_day>= 1 as completed_week_before_day,\n pct_week_completed_before_day >=.5 and pct_week_completed_before_day <.75 as completed_50pct_to_75pct_week_before_day,\n pct_week_completed_before_day >=.75 and pct_week_completed_before_day < 1 as completed_75pct_to_100pct_week_before_day,\n pct_week_completed_before_day >=.25 and pct_week_completed_before_day <.5 as completed_25pct_to_50pct_week_before_day,\n pct_week_completed_before_day >=.10 and pct_week_completed_before_day < .25 as completed_10pct_to_25pct_week_before_day ,\n pct_week_completed_before_day < .10 as completed_lessthan10pct_week_before_day\nfrom user_daily_cohort_lesson_completion\ngroup by 1,2,3,4,5,6\norder by user_id,day, cohort_week\n\n),\n\npct_completed_by_week as (\n\nselect \n cohort_week::int as scheduled_content_week,\n date_trunc('week', day) as user_activity_week,\n datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) as cohort_week ,\n\n100*avg(completed_lessthan10pct_week_before_day::int) as \"% of users who completed < 10% of content before end of scheduled week\",\n100*avg(completed_10pct_to_25pct_week_before_day::int) as \"% of users who completed >= 10% and < 25%\",\n100*avg(completed_25pct_to_50pct_week_before_day::int) as \"% of users who completed >=25% and <50%\" ,\n100*avg(completed_50pct_to_75pct_week_before_day::int) as \"% of users who completed >=50% and <75%\" ,\n100*avg(completed_75pct_to_100pct_week_before_day::int) as \"% of users who completed >=75% and <100%\" ,\n100*avg(completed_week_before_day::int) as \"% of users who completed all\"\nfrom user_daily_cohort_module_completion u\ninner join cohort.season_outline s \n on u.day >= s.enrollment_opens_at and u.day<= s.ends_at + interval '15 days' and s.season_name = '2021-fall'\ngroup by 1,2,3\nhaving datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) >-5\norder by 3, 1\n)\n\nselect *, round(scheduled_content_week) as \"Scheduled Content Week\"\nfrom pct_completed_by_week \nwhere scheduled_content_week = cohort_week - 1 \norder by scheduled_content_week", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with calendar as (\n\n select \n day, \n date_trunc('day',starts_at) as spring2022_starts_at, \n date_trunc( 'day', ends_at) as spring2022_ends_at, \n date_trunc('day', enrollments_open_at) as spring2022_enrollment_starts_at ,\n day - spring2022_starts_at::date as kickoff_offset_days\n from core.calendar c\n cross join stitch_ingest.reforge_production.seasons s \n where (day between enrollments_open_at - interval '1 day' and current_date() )\n and name = '2021-fall'\n),\n\nenrollments as (\n\n select \n user_id,\n season_id, \n season_name ,\n cohort_id,\n cms_program_name,\n cms_program_id,\n enrolled_at\n from cohort.COHORT_USER_ENROLLMENT cue \n where season_name = '2021-fall' \n),\n\nenrolled_program_content as ( -- for each user-enrollment - list lessons required for their enrolled program \n\n select \n e.*,\n week as cohort_week,\n week_title as cohort_week_title,\n starts_at as cohort_week_starts_at,\n ends_at as cohort_week_ends_at ,\n cms_module_id,\n cms_module_name,\n cms_section_id,\n cms_section_name, \n COUNTS_TOWARDS_COMPLETION,\n count( distinct cms_section_id) over(partition by cpc.cohort_id, cohort_week, cms_module_id, COUNTS_TOWARDS_COMPLETION) as lesson_count_by_module,\n count ( distinct cms_section_id ) over( partition by cpc.cohort_id, cohort_week, COUNTS_TOWARDS_COMPLETION ) as lesson_count_by_week\n from enrollments e \n left join cohort.COHORT_PROGRAM_CONTENT cpc \n on e.cohort_id = cpc.cohort_id\n where COUNTS_TOWARDS_COMPLETION and IS_PUBLISHED\n order by user_id, season_id, cms_module_id, cms_section_id\n\n),\n\ncalendar_times_enrolled_program_content as (\n\n select * \n from calendar \n cross join enrolled_program_content\n order by user_id, season_id, day, cms_module_id, cms_section_id\n\n),\n\nuser_daily_cohort_lesson_completion as (\n\n select \n c.*,\n uca.created_at as completed_at,\n uca.id is not null as completed_lesson_before_day\n from calendar_times_enrolled_program_content c \n left join stitch_ingest.reforge_production.user_cms_activities uca \n on c.user_id = uca.user_id \n and c.cms_program_id = uca.cms_program_id\n and c.cms_section_id = uca.cms_section_id\n and uca.action = 'completed'\n and uca.created_at < c.day \n\n),\n\nuser_daily_cohort_module_completion as (\n\nselect \nuser_id,\n season_id,\n season_name,\n day,\n cohort_week_title,\n cohort_week,\n avg(completed_lesson_before_day::int) as pct_week_completed_before_day,\n pct_week_completed_before_day>= 1 as completed_week_before_day,\n pct_week_completed_before_day >=.5 and pct_week_completed_before_day <.75 as completed_50pct_to_75pct_week_before_day,\n pct_week_completed_before_day >=.75 and pct_week_completed_before_day < 1 as completed_75pct_to_100pct_week_before_day,\n pct_week_completed_before_day >=.25 and pct_week_completed_before_day <.5 as completed_25pct_to_50pct_week_before_day,\n pct_week_completed_before_day >=.10 and pct_week_completed_before_day < .25 as completed_10pct_to_25pct_week_before_day ,\n pct_week_completed_before_day < .10 as completed_lessthan10pct_week_before_day\nfrom user_daily_cohort_lesson_completion\ngroup by 1,2,3,4,5,6\norder by user_id,day, cohort_week\n\n),\n\npct_completed_by_week as (\n\nselect \n cohort_week::int as scheduled_content_week,\n date_trunc('week', day) as user_activity_week,\n datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) as cohort_week ,\n\n100*avg(completed_lessthan10pct_week_before_day::int) as \"% of users who completed < 10% of content before end of scheduled week\",\n100*avg(completed_10pct_to_25pct_week_before_day::int) as \"% of users who completed >= 10% and < 25%\",\n100*avg(completed_25pct_to_50pct_week_before_day::int) as \"% of users who completed >=25% and <50%\" ,\n100*avg(completed_50pct_to_75pct_week_before_day::int) as \"% of users who completed >=50% and <75%\" ,\n100*avg(completed_75pct_to_100pct_week_before_day::int) as \"% of users who completed >=75% and <100%\" ,\n100*avg(completed_week_before_day::int) as \"% of users who completed all\"\nfrom user_daily_cohort_module_completion u\ninner join cohort.season_outline s \n on u.day >= s.enrollment_opens_at and u.day<= s.ends_at + interval '15 days' and s.season_name = '2021-fall'\ngroup by 1,2,3\nhaving datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) >-5\norder by 3, 1\n)\n\nselect *, round(scheduled_content_week) as \"Scheduled Content Week\"\nfrom pct_completed_by_week \nwhere scheduled_content_week = cohort_week - 1 \norder by scheduled_content_week\n\n\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 5321}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5505, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:10-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:14:09.237271Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 88 queryType: native queryHash: 44bfad93a45abf3515b5d61a5020f2917b98fd6e4e1ec8d296fbc352cd04f2ff\nwith calendar as (\n\n select \n day, \n date_trunc('day',starts_at) as spring2022_starts_at, \n date_trunc( 'day', ends_at) as spring2022_ends_at, \n date_trunc('day', enrollments_open_at) as spring2022_enrollment_starts_at ,\n day - spring2022_starts_at::date as kickoff_offset_days\n from core.calendar c\n cross join stitch_ingest.reforge_production.seasons s \n where (day between enrollments_open_at - interval '1 day' and current_date() )\n and name = ?\n),\n\nenrollments as (\n\n select \n user_id,\n season_id, \n season_name ,\n cohort_id,\n cms_program_name,\n cms_program_id,\n enrolled_at\n from cohort.COHORT_USER_ENROLLMENT cue \n where season_name = ?\n),\n\nenrolled_program_content as ( -- for each user-enrollment - list lessons required for their enrolled program \n\n select \n e.*,\n week as cohort_week,\n week_title as cohort_week_title,\n starts_at as cohort_week_starts_at,\n ends_at as cohort_week_ends_at ,\n cms_module_id,\n cms_module_name,\n cms_section_id,\n cms_section_name, \n COUNTS_TOWARDS_COMPLETION,\n count( distinct cms_section_id) over(partition by cpc.cohort_id, cohort_week, cms_module_id, COUNTS_TOWARDS_COMPLETION) as lesson_count_by_module,\n count ( distinct cms_section_id ) over( partition by cpc.cohort_id, cohort_week, COUNTS_TOWARDS_COMPLETION ) as lesson_count_by_week\n from enrollments e \n left join cohort.COHORT_PROGRAM_CONTENT cpc \n on e.cohort_id = cpc.cohort_id\n where COUNTS_TOWARDS_COMPLETION and IS_PUBLISHED\n order by user_id, season_id, cms_module_id, cms_section_id\n\n),\n\ncalendar_times_enrolled_program_content as (\n\n select * \n from calendar \n cross join enrolled_program_content\n order by user_id, season_id, day, cms_module_id, cms_section_id\n\n),\n\nuser_daily_cohort_lesson_completion as (\n\n select \n c.*,\n uca.created_at as completed_at,\n uca.id is not null as completed_lesson_before_day\n from calendar_times_enrolled_program_content c \n left join stitch_ingest.reforge_production.user_cms_activities uca \n on c.user_id = uca.user_id \n and c.cms_program_id = uca.cms_program_id\n and c.cms_section_id = uca.cms_section_id\n and uca.action = 'completed'\n and uca.created_at < c.day \n\n),\n\nuser_daily_cohort_module_completion as (\n\nselect \nuser_id,\n season_id,\n season_name,\n day,\n cohort_week_title,\n cohort_week,\n avg(completed_lesson_before_day::int) as pct_week_completed_before_day,\n pct_week_completed_before_day>= 1 as completed_week_before_day,\n pct_week_completed_before_day >=.5 and pct_week_completed_before_day <.75 as completed_50pct_to_75pct_week_before_day,\n pct_week_completed_before_day >=.75 and pct_week_completed_before_day < 1 as completed_75pct_to_100pct_week_before_day,\n pct_week_completed_before_day >=.25 and pct_week_completed_before_day <.5 as completed_25pct_to_50pct_week_before_day,\n pct_week_completed_before_day >=.10 and pct_week_completed_before_day < .25 as completed_10pct_to_25pct_week_before_day ,\n pct_week_completed_before_day < .10 as completed_lessthan10pct_week_before_day\nfrom user_daily_cohort_lesson_completion\ngroup by 1,2,3,4,5,6\norder by user_id,day, cohort_week\n\n),\n\npct_completed_by_week as (\n\nselect \n cohort_week::int as scheduled_content_week,\n date_trunc('week', day) as user_activity_week,\n datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) as cohort_week ,\n\n100*avg(completed_lessthan10pct_week_before_day::int) as \"% of users who completed < 10% of content before end of scheduled week\",\n100*avg(completed_10pct_to_25pct_week_before_day::int) as \"% of users who completed >= 10% and < 25%\",\n100*avg(completed_25pct_to_50pct_week_before_day::int) as \"% of users who completed >=25% and <50%\" ,\n100*avg(completed_50pct_to_75pct_week_before_day::int) as \"% of users who completed >=50% and <75%\" ,\n100*avg(completed_75pct_to_100pct_week_before_day::int) as \"% of users who completed >=75% and <100%\" ,\n100*avg(completed_week_before_day::int) as \"% of users who completed all\"\nfrom user_daily_cohort_module_completion u\ninner join cohort.season_outline s \n on u.day >= s.enrollment_opens_at and u.day<= s.ends_at + interval '15 days' and s.season_name = ?\ngroup by 1,2,3\nhaving datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) >-5\norder by 3, 1\n)\n\nselect *, round(scheduled_content_week) as \"Scheduled Content Week\"\nfrom pct_completed_by_week \nwhere scheduled_content_week = cohort_week - 1 \norder by scheduled_content_week", | |
:params ["2022-summer" "2022-summer" "2022-summer"], | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with calendar as (\n\n select \n day, \n date_trunc('day',starts_at) as spring2022_starts_at, \n date_trunc( 'day', ends_at) as spring2022_ends_at, \n date_trunc('day', enrollments_open_at) as spring2022_enrollment_starts_at ,\n day - spring2022_starts_at::date as kickoff_offset_days\n from core.calendar c\n cross join stitch_ingest.reforge_production.seasons s \n where (day between enrollments_open_at - interval '1 day' and current_date() )\n and name = {{season_name}}\n),\n\nenrollments as (\n\n select \n user_id,\n season_id, \n season_name ,\n cohort_id,\n cms_program_name,\n cms_program_id,\n enrolled_at\n from cohort.COHORT_USER_ENROLLMENT cue \n where season_name = {{season_name}}\n),\n\nenrolled_program_content as ( -- for each user-enrollment - list lessons required for their enrolled program \n\n select \n e.*,\n week as cohort_week,\n week_title as cohort_week_title,\n starts_at as cohort_week_starts_at,\n ends_at as cohort_week_ends_at ,\n cms_module_id,\n cms_module_name,\n cms_section_id,\n cms_section_name, \n COUNTS_TOWARDS_COMPLETION,\n count( distinct cms_section_id) over(partition by cpc.cohort_id, cohort_week, cms_module_id, COUNTS_TOWARDS_COMPLETION) as lesson_count_by_module,\n count ( distinct cms_section_id ) over( partition by cpc.cohort_id, cohort_week, COUNTS_TOWARDS_COMPLETION ) as lesson_count_by_week\n from enrollments e \n left join cohort.COHORT_PROGRAM_CONTENT cpc \n on e.cohort_id = cpc.cohort_id\n where COUNTS_TOWARDS_COMPLETION and IS_PUBLISHED\n order by user_id, season_id, cms_module_id, cms_section_id\n\n),\n\ncalendar_times_enrolled_program_content as (\n\n select * \n from calendar \n cross join enrolled_program_content\n order by user_id, season_id, day, cms_module_id, cms_section_id\n\n),\n\nuser_daily_cohort_lesson_completion as (\n\n select \n c.*,\n uca.created_at as completed_at,\n uca.id is not null as completed_lesson_before_day\n from calendar_times_enrolled_program_content c \n left join stitch_ingest.reforge_production.user_cms_activities uca \n on c.user_id = uca.user_id \n and c.cms_program_id = uca.cms_program_id\n and c.cms_section_id = uca.cms_section_id\n and uca.action = 'completed'\n and uca.created_at < c.day \n\n),\n\nuser_daily_cohort_module_completion as (\n\nselect \nuser_id,\n season_id,\n season_name,\n day,\n cohort_week_title,\n cohort_week,\n avg(completed_lesson_before_day::int) as pct_week_completed_before_day,\n pct_week_completed_before_day>= 1 as completed_week_before_day,\n pct_week_completed_before_day >=.5 and pct_week_completed_before_day <.75 as completed_50pct_to_75pct_week_before_day,\n pct_week_completed_before_day >=.75 and pct_week_completed_before_day < 1 as completed_75pct_to_100pct_week_before_day,\n pct_week_completed_before_day >=.25 and pct_week_completed_before_day <.5 as completed_25pct_to_50pct_week_before_day,\n pct_week_completed_before_day >=.10 and pct_week_completed_before_day < .25 as completed_10pct_to_25pct_week_before_day ,\n pct_week_completed_before_day < .10 as completed_lessthan10pct_week_before_day\nfrom user_daily_cohort_lesson_completion\ngroup by 1,2,3,4,5,6\norder by user_id,day, cohort_week\n\n),\n\npct_completed_by_week as (\n\nselect \n cohort_week::int as scheduled_content_week,\n date_trunc('week', day) as user_activity_week,\n datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) as cohort_week ,\n\n100*avg(completed_lessthan10pct_week_before_day::int) as \"% of users who completed < 10% of content before end of scheduled week\",\n100*avg(completed_10pct_to_25pct_week_before_day::int) as \"% of users who completed >= 10% and < 25%\",\n100*avg(completed_25pct_to_50pct_week_before_day::int) as \"% of users who completed >=25% and <50%\" ,\n100*avg(completed_50pct_to_75pct_week_before_day::int) as \"% of users who completed >=50% and <75%\" ,\n100*avg(completed_75pct_to_100pct_week_before_day::int) as \"% of users who completed >=75% and <100%\" ,\n100*avg(completed_week_before_day::int) as \"% of users who completed all\"\nfrom user_daily_cohort_module_completion u\ninner join cohort.season_outline s \n on u.day >= s.enrollment_opens_at and u.day<= s.ends_at + interval '15 days' and s.season_name = {{season_name}}\ngroup by 1,2,3\nhaving datediff(week, date_trunc('week',s.starts_at), date_trunc('week', day)) >-5\norder by 3, 1\n)\n\nselect *, round(scheduled_content_week) as \"Scheduled Content Week\"\nfrom pct_completed_by_week \nwhere scheduled_content_week = cohort_week - 1 \norder by scheduled_content_week\n\n\n", | |
:template-tags | |
{"season_name" | |
{:id "f569df2b-ad57-7d6b-67b2-853c09f6a077", :name "season_name", :display-name "Season name", :type :text}}}, | |
:database 13, | |
:parameters | |
[{:type :string/=, :value ["2022-summer"], :target [:variable [:template-tag "season_name"]], :id "7e719727"}], | |
:async? true, | |
:cache-ttl 3485}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:238)" | |
"net.snowflake.client.jdbc.SnowflakePreparedStatementV1.executeQuery(SnowflakePreparedStatementV1.java:117)" | |
"com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:1471)" | |
"--> driver.sql_jdbc.execute$fn__53219.invokeStatic(execute.clj:364)" | |
"driver.sql_jdbc.execute$fn__53219.invoke(execute.clj:362)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:377)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 4318, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:43-04:00 DEBUG metabase.server.middleware.log GET /api/user/current 200 8.0 ms (4 DB calls) App DB connections: 0/15 Jetty threads: 4/50 (42 idle, 0 queued) (171 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:43-04:00 DEBUG metabase.server.middleware.log GET /api/session/properties 200 15.3 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (171 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:43-04:00 DEBUG metabase.server.middleware.log GET /api/database 200 12.2 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 4/50 (42 idle, 0 queued) (171 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:43-04:00 DEBUG metabase.server.middleware.log GET /api/dashboard/211 200 86.6 ms (39 DB calls) App DB connections: 1/15 Jetty threads: 3/50 (42 idle, 0 queued) (171 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 DEBUG metabase.server.middleware.log GET /api/field/144933 200 9.2 ms (6 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (43 idle, 0 queued) (171 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root 200 59.8 ms (2 DB calls) App DB connections: 14/15 Jetty threads: 26/50 (20 idle, 0 queued) (171 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.4 s; using 'magic' TTL of 4.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.3 s; using 'magic' TTL of 7.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.7 s; using 'magic' TTL of 8.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.2 s; using 'magic' TTL of 10.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.0 s; using 'magic' TTL of 10.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.2 s; using 'magic' TTL of 13.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.4 s; using 'magic' TTL of 4.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.7 s; using 'magic' TTL of 8.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.8 s; using 'magic' TTL of 5.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.0 s; using 'magic' TTL of 13.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:44-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.1 s; using 'magic' TTL of 7.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.6 s; using 'magic' TTL of 11.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.0 s; using 'magic' TTL of 10.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.9 s; using 'magic' TTL of 6.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.9 s; using 'magic' TTL of 6.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.2 s; using 'magic' TTL of 7.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.middleware.cache Query took 456.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2683/card/3939/query 202 [ASYNC: completed] 1.2 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (220 total active threads) Queries in flight: 22 (0 queued); snowflake DB 13 connections: 1/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.middleware.cache Query took 245.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/5728/card/5931/query 202 [ASYNC: completed] 1.3 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (221 total active threads) Queries in flight: 21 (0 queued); snowflake DB 13 connections: 12/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 INFO metabase.query-processor.middleware.cache Query took 826.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:45-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2688/card/3945/query 202 [ASYNC: completed] 1.7 s (17 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (43 idle, 0 queued) (225 total active threads) Queries in flight: 20 (0 queued); snowflake DB 13 connections: 6/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 887.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/8291/card/8136/query 202 [ASYNC: completed] 1.8 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (225 total active threads) Queries in flight: 19 (0 queued); snowflake DB 13 connections: 11/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 1.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2684/card/3940/query 202 [ASYNC: completed] 2.0 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (227 total active threads) Queries in flight: 18 (0 queued); snowflake DB 13 connections: 4/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 1.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2551/card/3841/query 202 [ASYNC: completed] 2.1 s (17 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (228 total active threads) Queries in flight: 17 (0 queued); snowflake DB 13 connections: 8/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2503/card/3783/query 202 [ASYNC: completed] 2.5 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (233 total active threads) Queries in flight: 16 (0 queued); snowflake DB 13 connections: 0/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 1.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2556/card/3782/query 202 [ASYNC: completed] 2.5 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (233 total active threads) Queries in flight: 15 (0 queued); snowflake DB 13 connections: 3/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/5568/card/5814/query 202 [ASYNC: completed] 2.6 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (233 total active threads) Queries in flight: 14 (0 queued); snowflake DB 13 connections: 2/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 1.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2559/card/3851/query 202 [ASYNC: completed] 2.8 s (16 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (43 idle, 0 queued) (236 total active threads) Queries in flight: 13 (0 queued); snowflake DB 13 connections: 5/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:46-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/5729/card/5932/query 202 [ASYNC: completed] 2.8 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (236 total active threads) Queries in flight: 12 (0 queued); snowflake DB 13 connections: 14/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2570/card/3683/query 202 [ASYNC: completed] 3.0 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 11 (0 queued); snowflake DB 13 connections: 7/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/5605/card/5854/query 202 [ASYNC: completed] 3.0 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 10 (0 queued); snowflake DB 13 connections: 15/15 (6 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/8290/card/8135/query 202 [ASYNC: completed] 3.1 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 9 (0 queued); snowflake DB 13 connections: 15/15 (1 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2502/card/3655/query 202 [ASYNC: completed] 3.2 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 8 (0 queued); snowflake DB 13 connections: 15/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.3 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/5604/card/5853/query 202 [ASYNC: completed] 3.3 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 7 (0 queued); snowflake DB 13 connections: 15/15 (5 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/6150/card/6243/query 202 [ASYNC: completed] 3.4 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 6 (0 queued); snowflake DB 13 connections: 13/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/8289/card/8134/query 202 [ASYNC: completed] 3.4 s (18 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 5 (0 queued); snowflake DB 13 connections: 15/15 (4 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:47-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/6150/card/6242/query 202 [ASYNC: completed] 3.5 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 4 (0 queued); snowflake DB 13 connections: 10/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:48-04:00 INFO metabase.query-processor.middleware.cache Query took 3.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:48-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2571/card/3872/query 202 [ASYNC: completed] 4.2 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 3 (0 queued); snowflake DB 13 connections: 15/15 (2 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:50-04:00 INFO metabase.query-processor.middleware.cache Query took 4.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2492/card/3826/query 202 [ASYNC: completed] 5.9 s (20 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (236 total active threads) Queries in flight: 2 (0 queued); snowflake DB 13 connections: 15/15 (7 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:50-04:00 INFO metabase.query-processor.middleware.cache Query took 5.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2732/card/3987/query 202 [ASYNC: completed] 6.0 s (20 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 1 (0 queued); snowflake DB 13 connections: 9/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:50-04:00 INFO metabase.query-processor.middleware.cache Query took 5.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:15:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/211/dashcard/2731/card/3985/query 202 [ASYNC: completed] 6.1 s (16 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (43 idle, 0 queued) (237 total active threads) Queries in flight: 0 (0 queued); snowflake DB 13 connections: 15/15 (3 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/user/current 200 9.2 ms (4 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/card/5317 200 21.8 ms (11 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/session/properties 200 10.4 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/alert/question/5317 200 2.5 ms (1 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/collection 200 7.7 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/database 200 18.0 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 INFO metabase.query-processor.card Question's average execution duration is 937.0 ms; using 'magic' TTL of 3.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/collection/182 200 11.6 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 1 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:41-04:00 DEBUG metabase.server.middleware.log GET /api/native-query-snippet 200 4.1 ms (2 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 1 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:42-04:00 INFO metabase.query-processor.middleware.cache Query took 508.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:16:42-04:00 DEBUG metabase.server.middleware.log POST /api/card/5317/query 202 [ASYNC: completed] 536.9 ms (11 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (42 idle, 0 queued) (235 total active threads) Queries in flight: 0 (0 queued); postgres DB 3 connections: 0/1 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:23-04:00 DEBUG metabase.server.middleware.log GET /api/user/current 200 5.5 ms (4 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (39 idle, 0 queued) (208 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:23-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root/items 200 64.4 ms (16 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (39 idle, 0 queued) (209 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:23-04:00 DEBUG metabase.server.middleware.log GET /api/session/properties 200 10.8 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (38 idle, 0 queued) (209 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:23-04:00 DEBUG metabase.server.middleware.log GET /api/database 200 14.3 ms (3 DB calls) App DB connections: 1/15 Jetty threads: 5/50 (37 idle, 0 queued) (209 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:23-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root/items 200 18.1 ms (5 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (38 idle, 0 queued) (209 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:46-04:00 DEBUG metabase.server.middleware.log GET /api/user/current 200 4.9 ms (4 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (38 idle, 0 queued) (208 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:46-04:00 DEBUG metabase.server.middleware.log GET /api/session/properties 200 8.3 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (38 idle, 0 queued) (208 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:46-04:00 DEBUG metabase.server.middleware.log GET /api/database 200 12.0 ms (3 DB calls) App DB connections: 0/15 Jetty threads: 4/50 (37 idle, 0 queued) (208 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:46-04:00 DEBUG metabase.server.middleware.log GET /api/dashboard/322 200 198.8 ms (112 DB calls) App DB connections: 1/15 Jetty threads: 3/50 (37 idle, 0 queued) (208 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:46-04:00 DEBUG metabase.server.middleware.log GET /api/table/7856/query_metadata 200 20.4 ms (9 DB calls) App DB connections: 1/15 Jetty threads: 4/50 (37 idle, 0 queued) (208 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:46-04:00 DEBUG metabase.server.middleware.log GET /api/table/7884/query_metadata 200 17.2 ms (8 DB calls) App DB connections: 0/15 Jetty threads: 4/50 (37 idle, 0 queued) (208 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.8 s; using 'magic' TTL of 12.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.1 s; using 'magic' TTL of 3.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.9 s; using 'magic' TTL of 9.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.8 s; using 'magic' TTL of 9.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.1 s; using 'magic' TTL of 7.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.2 s; using 'magic' TTL of 7.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.2 s; using 'magic' TTL of 7.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.7 s; using 'magic' TTL of 8.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.3 s; using 'magic' TTL of 7.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.2 s; using 'magic' TTL of 10.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.5 s; using 'magic' TTL of 11.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:47-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.7 s; using 'magic' TTL of 9.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.5 s; using 'magic' TTL of 11.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.6 s; using 'magic' TTL of 8.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.0 s; using 'magic' TTL of 10.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.9 s; using 'magic' TTL of 16.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.5 s; using 'magic' TTL of 11.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.8 s; using 'magic' TTL of 9.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.2 s; using 'magic' TTL of 10.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.8 s; using 'magic' TTL of 9.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.3 s; using 'magic' TTL of 7.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.6 s; using 'magic' TTL of 12.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.3 s; using 'magic' TTL of 11.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.7 s; using 'magic' TTL of 9.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 DEBUG metabase.server.middleware.log GET /api/collection/337 200 138.4 ms (4 DB calls) App DB connections: 9/15 Jetty threads: 40/50 (8 idle, 0 queued) (209 total active threads) Queries in flight: 35 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root/items 200 147.3 ms (5 DB calls) App DB connections: 13/15 Jetty threads: 40/50 (8 idle, 0 queued) (211 total active threads) Queries in flight: 35 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.5 s; using 'magic' TTL of 11.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.7 s; using 'magic' TTL of 12.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.2 s; using 'magic' TTL of 4.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.9 s; using 'magic' TTL of 9.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.2 s; using 'magic' TTL of 7.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.3 s; using 'magic' TTL of 11.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root/items 200 438.9 ms (15 DB calls) App DB connections: 3/15 Jetty threads: 30/50 (18 idle, 0 queued) (220 total active threads) Queries in flight: 44 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.7 s; using 'magic' TTL of 12.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.8 s; using 'magic' TTL of 12.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.6 s; using 'magic' TTL of 8.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.7 s; using 'magic' TTL of 5.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.2 s; using 'magic' TTL of 7.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.3 s; using 'magic' TTL of 7.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:48-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.2 s; using 'magic' TTL of 7.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.4 s; using 'magic' TTL of 8.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.7 s; using 'magic' TTL of 9.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.6 s; using 'magic' TTL of 8.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.8 s; using 'magic' TTL of 9.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.6 s; using 'magic' TTL of 12.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.6 s; using 'magic' TTL of 8.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5574/card/5818/query 202 [ASYNC: canceled] 2.7 s (17 DB calls) App DB connections: 2/15 Jetty threads: 9/50 (40 idle, 0 queued) (244 total active threads) Queries in flight: 50 (12 queued); snowflake DB 13 connections: 2/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5871/card/6019/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 6/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 38 (0 queued); snowflake DB 13 connections: 4/4 (10 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5873/card/5923/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 5/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 38 (0 queued); snowflake DB 13 connections: 5/5 (20 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5407/card/5764/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 6/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 4/4 (3 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5681/card/5906/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 3/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5569/card/5816/query 202 [ASYNC: canceled] 2.7 s (15 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 0/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5617/card/5858/query 202 [ASYNC: canceled] 2.7 s (18 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 4/4 (9 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5683/card/5923/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 5/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (27 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6079/card/6135/query 202 [ASYNC: canceled] 2.6 s (17 DB calls) App DB connections: 5/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (33 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5610/card/5857/query 202 [ASYNC: canceled] 2.7 s (18 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 4/4 (2 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5684/card/5924/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 4/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 1/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5682/card/5912/query 202 [ASYNC: canceled] 2.7 s (18 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (32 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5697/card/5925/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (29 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5613/card/5684/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (24 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5679/card/5904/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (28 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5410/card/5774/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (25 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6086/card/6152/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (30 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5607/card/5856/query 202 [ASYNC: canceled] 2.7 s (18 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 6/6 (26 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6052/card/6126/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 5/5 (22 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5614/card/5683/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 5/5 (16 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5872/card/6020/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 5/5 (18 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5675/card/5901/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 5/5 (19 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6085/card/6141/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 5/5 (17 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5612/card/5780/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 5/5 (24 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5676/card/5902/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 5/5 (21 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5673/card/5900/query 202 [ASYNC: canceled] 2.7 s (21 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 35 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5680/card/5905/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 35 (0 queued); snowflake DB 13 connections: 5/5 (15 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5572/card/5817/query 202 [ASYNC: canceled] 2.7 s (17 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 35 (0 queued); snowflake DB 13 connections: 4/4 (6 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5575/card/5821/query 202 [ASYNC: canceled] 2.7 s (20 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 35 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5405/card/5762/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 3/15 Jetty threads: 7/50 (41 idle, 0 queued) (254 total active threads) Queries in flight: 34 (0 queued); snowflake DB 13 connections: 4/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.2 s; using 'magic' TTL of 7.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5869/card/6018/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 3/15 Jetty threads: 8/50 (40 idle, 0 queued) (255 total active threads) Queries in flight: 33 (0 queued); snowflake DB 13 connections: 4/4 (1 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5694/card/5911/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 3/15 Jetty threads: 6/50 (42 idle, 0 queued) (256 total active threads) Queries in flight: 33 (0 queued); snowflake DB 13 connections: 4/4 (12 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5608/card/5710/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 2/15 Jetty threads: 6/50 (42 idle, 0 queued) (256 total active threads) Queries in flight: 31 (0 queued); snowflake DB 13 connections: 4/4 (11 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5615/card/5695/query 202 [ASYNC: canceled] 2.6 s (13 DB calls) App DB connections: 2/15 Jetty threads: 6/50 (42 idle, 0 queued) (256 total active threads) Queries in flight: 31 (0 queued); snowflake DB 13 connections: 4/4 (13 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 1.6 s; using 'magic' TTL of 5.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5677/card/5903/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 1/15 Jetty threads: 4/50 (44 idle, 0 queued) (259 total active threads) Queries in flight: 32 (0 queued); snowflake DB 13 connections: 4/4 (4 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8511/card/8444/query 202 [ASYNC: canceled] 2.2 s (13 DB calls) App DB connections: 1/15 Jetty threads: 4/50 (44 idle, 0 queued) (259 total active threads) Queries in flight: 31 (0 queued); snowflake DB 13 connections: 7/7 (39 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.3 s; using 'magic' TTL of 7.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6087/card/6153/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 1/15 Jetty threads: 3/50 (45 idle, 0 queued) (260 total active threads) Queries in flight: 31 (0 queued); snowflake DB 13 connections: 4/4 (7 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5884/card/6021/query 202 [ASYNC: canceled] 2.7 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (260 total active threads) Queries in flight: 30 (0 queued); snowflake DB 13 connections: 4/4 (8 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8517/card/8470/query 202 [ASYNC: canceled] 2.2 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (260 total active threads) Queries in flight: 29 (0 queued); snowflake DB 13 connections: 7/7 (37 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5408/card/5766/query 202 [ASYNC: canceled] 2.8 s (13 DB calls) App DB connections: 1/15 Jetty threads: 3/50 (45 idle, 0 queued) (260 total active threads) Queries in flight: 28 (0 queued); snowflake DB 13 connections: 4/4 (5 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.1 s; using 'magic' TTL of 6.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6090/card/6156/query 202 [ASYNC: canceled] 2.2 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (260 total active threads) Queries in flight: 27 (0 queued); snowflake DB 13 connections: 7/7 (36 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8513/card/8453/query 202 [ASYNC: canceled] 2.2 s (13 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (261 total active threads) Queries in flight: 27 (0 queued); snowflake DB 13 connections: 7/7 (35 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6091/card/6158/query 202 [ASYNC: canceled] 2.2 s (13 DB calls) App DB connections: 2/15 Jetty threads: 2/50 (46 idle, 0 queued) (261 total active threads) Queries in flight: 26 (0 queued); snowflake DB 13 connections: 4/4 (14 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6054/card/6127/query 202 [ASYNC: canceled] 2.4 s (15 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (264 total active threads) Queries in flight: 25 (0 queued); snowflake DB 13 connections: 4/4 (15 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6081/card/6137/query 202 [ASYNC: canceled] 2.4 s (13 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (264 total active threads) Queries in flight: 24 (0 queued); snowflake DB 13 connections: 7/7 (34 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5606/card/5855/query 202 [ASYNC: canceled] 2.4 s (18 DB calls) App DB connections: 1/15 Jetty threads: 2/50 (46 idle, 0 queued) (264 total active threads) Queries in flight: 23 (0 queued); snowflake DB 13 connections: 7/7 (38 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6196/card/6355/query 202 [ASYNC: canceled] 2.5 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (266 total active threads) Queries in flight: 22 (0 queued); snowflake DB 13 connections: 7/7 (33 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6149/card/6233/query 202 [ASYNC: canceled] 1.9 s (18 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 19 (0 queued); snowflake DB 13 connections: 7/7 (44 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6055/card/6128/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 18 (0 queued); snowflake DB 13 connections: 7/7 (41 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6083/card/6139/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 19 (0 queued); snowflake DB 13 connections: 6/6 (31 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6088/card/6155/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 18 (0 queued); snowflake DB 13 connections: 5/5 (23 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8514/card/8456/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 17 (0 queued); snowflake DB 13 connections: 7/7 (40 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8306/card/8223/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 16 (0 queued); snowflake DB 13 connections: 7/7 (43 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/5698/card/5926/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 15 (0 queued); snowflake DB 13 connections: 7/7 (42 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:49-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8489/card/8366/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (268 total active threads) Queries in flight: 14 (0 queued); snowflake DB 13 connections: 10/10 (56 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6151/card/6244/query 202 [ASYNC: canceled] 2.0 s (17 DB calls) App DB connections: 0/15 Jetty threads: 2/50 (46 idle, 0 queued) (272 total active threads) Queries in flight: 13 (0 queued); snowflake DB 13 connections: 10/10 (57 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 INFO metabase.query-processor.middleware.cache Query took 689.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8515/card/8454/query 202 [ASYNC: canceled] 2.1 s (13 DB calls) App DB connections: 0/15 Jetty threads: 4/50 (45 idle, 0 queued) (277 total active threads) Queries in flight: 12 (0 queued); snowflake DB 13 connections: 10/10 (53 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8308/card/8225/query 202 [ASYNC: canceled] 2.0 s (13 DB calls) App DB connections: 1/15 Jetty threads: 3/50 (46 idle, 0 queued) (279 total active threads) Queries in flight: 11 (0 queued); snowflake DB 13 connections: 10/10 (54 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 INFO metabase.query-processor.middleware.cache Query took 761.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6059/card/6129/query 202 [ASYNC: canceled] 2.1 s (17 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (280 total active threads) Queries in flight: 10 (0 queued); snowflake DB 13 connections: 10/10 (55 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8493/card/8406/query 202 [ASYNC: canceled] 2.0 s (18 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (280 total active threads) Queries in flight: 9 (0 queued); snowflake DB 13 connections: 10/10 (52 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6133/card/6187/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (280 total active threads) Queries in flight: 8 (0 queued); snowflake DB 13 connections: 10/10 (50 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8287/card/8096/query 202 [ASYNC: canceled] 1.9 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (280 total active threads) Queries in flight: 7 (0 queued); snowflake DB 13 connections: 10/10 (49 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6195/card/6347/query 202 [ASYNC: canceled] 2.2 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (280 total active threads) Queries in flight: 6 (0 queued); snowflake DB 13 connections: 10/10 (48 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6080/card/6136/query 202 [ASYNC: canceled] 1.9 s (15 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (280 total active threads) Queries in flight: 5 (0 queued); snowflake DB 13 connections: 8/8 (49 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8307/card/8224/query 202 [ASYNC: canceled] 2.3 s (13 DB calls) App DB connections: 0/15 Jetty threads: 5/50 (44 idle, 0 queued) (285 total active threads) Queries in flight: 4 (0 queued); snowflake DB 13 connections: 8/8 (48 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6082/card/6138/query 202 [ASYNC: canceled] 2.4 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (285 total active threads) Queries in flight: 3 (0 queued); snowflake DB 13 connections: 8/8 (47 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/8490/card/8403/query 202 [ASYNC: canceled] 2.4 s (13 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (285 total active threads) Queries in flight: 2 (0 queued); snowflake DB 13 connections: 8/8 (46 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6152/card/6245/query 202 [ASYNC: canceled] 2.3 s (18 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (285 total active threads) Queries in flight: 1 (0 queued); snowflake DB 13 connections: 10/10 (51 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/322/dashcard/6084/card/6140/query 202 [ASYNC: canceled] 2.5 s (15 DB calls) App DB connections: 2/15 Jetty threads: 3/50 (45 idle, 0 queued) (287 total active threads) Queries in flight: 0 (0 queued); snowflake DB 13 connections: 10/10 (58 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 INFO metabase.query-processor.middleware.cache Query took 909.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:50-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:51-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:51-04:00 INFO metabase.query-processor.middleware.cache Query took 2.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:51-04:00 INFO metabase.query-processor.middleware.cache Query took 3.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:51-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:51-04:00 INFO metabase.query-processor.middleware.cache Query took 1.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:51-04:00 INFO metabase.query-processor.middleware.cache Query took 2.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:51-04:00 INFO metabase.query-processor.middleware.cache Query took 2.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:52-04:00 INFO metabase.query-processor.middleware.cache Query took 3.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:52-04:00 INFO metabase.query-processor.middleware.cache Query took 3.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:52-04:00 INFO metabase.query-processor.middleware.cache Query took 4.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:53-04:00 INFO metabase.query-processor.middleware.cache Query took 4.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:57-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.368502Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with paid_spend as (\n select \n date_trunc('month', p.date) as period\n ,sum(applications) as app_ct\n ,sum(spend) as spend_ttl\n ,count(distinct date) as days_in_mth\n ,sum(spend) / sum(applications) as cpapp\n ,sum(spend) / count(distinct date) as spend_per_day\n ,sum(applications) / count(distinct date) as apps_per_day\n \n from marketing.MARKETING_POSITION_BASED_ATTRIBUTION_SUMMARY p\n where true\n and REFORGE_CHANNEL = 'Paid'\n and p.date >= date'2022-01-01'\n \n group by 1\n order by 1\n),\n\npaid_spend2 as (\nselect \n *\n-- , dateadd('month',1,period) as next_month\n , datediff('day',period, dateadd('month',1,period)) as day_in_mth\n , spend_per_day * datediff('day',period, dateadd('month',1,period)) as proj_spend\n , apps_per_day * datediff('day',period, dateadd('month',1,period)) as proj_apps\n , case when period = date_trunc('month', current_date) then 'proj' else 'actual' end as is_projection\nfrom paid_spend\norder by period\n)\n\nselect \n period\n ,is_projection\n ,round(apps_per_day,1) as apps_per_day\n ,round(cpapp,1) as cpapp\n ,round(proj_spend) as proj_spend\n ,round(proj_apps) as proj_apps\n\nfrom paid_spend2\norder by period", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 393}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 8223, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:58-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.369467Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select sum(change_in_number_of_seats_daily)\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)*/\n\n\nselect dateadd('week',-2 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('quarter',current_date)\nand day < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\nselect dateadd('week',-1 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('quarter',current_date)\nand day < date_trunc('week',current_date)\n\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 459}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5926, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:58-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.592536Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
" select \n date_trunc('day', p.date) as period\n ,REFORGE_SUBCHANNEL\n ,sum(applications) as app_ct\n ,sum(spend) as spend_ttl\n --,count(distinct date) as days_in_mth\n ,sum(spend) / sum(applications) as cpapp\n --,sum(spend) / count(distinct date) as spend_per_day\n --,sum(applications) / count(distinct date) as apps_per_day\n \n from marketing.MARKETING_POSITION_BASED_ATTRIBUTION_SUMMARY p\n where true\n and REFORGE_CHANNEL = 'Paid'\n and p.date >= date'2022-06-01'\n \n group by 1,2\n order by 1", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 448}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 8366, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:58-04:00 DEBUG metabase.server.middleware.log GET /api/dashboard/319 200 8.1 s (130 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (253 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:58-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.073115Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: e548585f419f579485a39ba4abe50fb9755d5f291f9ab99ace795cd2b78ace45\nselect dateadd('day',-1, date_trunc('week',current_date))", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native {:query "select dateadd('day',-1, date_trunc('week',current_date))\n", :template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 538}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5924, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:59-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:47.966862Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select count(1)\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n*/\n\n/*select date_trunc('month', current_date)*/\n\nselect current_date", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 563}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5766, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:59-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.294829Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select dateadd('day',-8 , date_trunc('week',current_date)) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n\nunion*/\n\nselect \n dateadd('day',-1 , current_date) as latest_date\n\n-- dateadd('day',-1 , date_trunc('week',current_date)) as latest_date\n-- , count(1) as actl_ct\n-- , datediff('day', date_trunc('month',current_date), date_trunc('week',current_date) ) as days_elapsed\n-- , datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date))) as days_in_month\n , round(count(1)\n / datediff('day', date_trunc('month',current_date), date_trunc('week',current_date) )\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n )\n as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n\n\nunion \n\nselect\n current_date as latest_date\n-- , count(1) as actl_ct\n-- , day(current_date) as days_elapsed\n-- , datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date))) as days_in_month\n , round (\n count(1)\n / day(current_date)\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n ) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand date_trunc('day',SUBMITTED_OR_CREATED_AT) <= current_date\n\ngroup by 1\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 426}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5903, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:20:59-04:00 DEBUG metabase.server.middleware.log GET /api/table/card__4176/query_metadata 200 330.3 ms (6 DB calls) App DB connections: 1/15 Jetty threads: 5/50 (44 idle, 0 queued) (253 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:00-04:00 DEBUG metabase.server.middleware.log GET /api/table/7875/query_metadata 200 332.8 ms (9 DB calls) App DB connections: 0/15 Jetty threads: 5/50 (44 idle, 0 queued) (253 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:00-04:00 DEBUG metabase.server.middleware.log GET /api/table/card__4174/query_metadata 200 550.8 ms (6 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (45 idle, 0 queued) (253 total active threads) Queries in flight: 0 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:00-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.344038Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with nm_ct as (\n select dateadd('week',-2 , date_trunc('week',current_date)) as week_start\n , sum(change_in_number_of_seats_daily) as new_member_count\n FROM core.subscriptions_history_daily\n where growth_type = 'new'\n and day >= date_trunc('quarter',current_date)\n and day < dateadd('day',-7, date_trunc('week',current_date))\n \n union\n \n select dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n , sum(change_in_number_of_seats_daily) as new_member_count\n FROM core.subscriptions_history_daily\n where growth_type = 'new'\n and day >= date_trunc('quarter',current_date)\n and day < date_trunc('week',current_date)\n \n order by 1\n)\n\n, mtd_new_seat_forecast as (\n select\n dateadd('week',-2 , date_trunc('week',current_date)) as week_start\n ,sum(daily_new_seats) as mtd_new_seats_tgt\n from stitch_ingest.finance_projections.daily_targets\n where day >= date_trunc('quarter',current_date)\n and day < dateadd('day',-7, date_trunc('week',current_date))\n \n union \n \n select\n dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n ,sum(daily_new_seats) as mtd_new_seats_tgt\n from stitch_ingest.finance_projections.daily_targets\n where day >= date_trunc('quarter',current_date)\n and day < date_trunc('week',current_date)\n \n order by 1\n)\n\n\nselect\n a.week_start\n --,a.new_member_count\n --,forecast.mtd_new_seats_tgt\n , round(a.new_member_count / forecast.mtd_new_seats_tgt,2) as forecast_pc\nfrom nm_ct a\nleft join mtd_new_seat_forecast forecast on a.week_start = forecast.week_start\norder by 1\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 432}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6153, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:01-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.186790Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:filter [:time-interval [:field 146510 nil] -54 :day {:include-current true}], | |
:aggregation [[:count]], | |
:breakout [[:field 146510 {:temporal-unit :day}]]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 692}, | |
:native | |
{:query | |
"SELECT date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"day\", CAST(dateadd(day, -54, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"day\", CAST(dateadd(day, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ORDER BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC", | |
:params nil}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5817, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 5817, | |
:card-name "Daily Apps Generated", | |
:dashboard-id 322, | |
:query-hash | |
[108, 16, -22, 11, -11, 12, 37, -3, -3, 10, 123, -62, 11, -61, -76, -126, -71, -82, -103, -13, 113, -76, -45, 89, | |
-74, 53, 64, 124, -14, -53, -69, -32]}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:filter | |
[:and | |
[:>= [:field 146510 {:temporal-unit :default}] [:relative-datetime -54 :day]] | |
[:< [:field 146510 {:temporal-unit :default}] [:relative-datetime 1 :day]]], | |
:aggregation [[:aggregation-options [:count] {:name "count"}]], | |
:breakout [[:field 146510 {:temporal-unit :day}]], | |
:order-by [[:asc [:field 146510 {:temporal-unit :day}]]]}, | |
:async? true, | |
:cache-ttl 692}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:02-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.661543Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/* * datediff('day', date_trunc('month',current_date), dateadd('day', -1, date_trunc('week',current_date) ))\n / datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n as app_count*/\n\n\nselect \n dateadd('week',-2 , date_trunc('week',current_date)) as week\n , count(1) \n / datediff('day', date_trunc('month',current_date), dateadd('day', -7, date_trunc('week',current_date) ))\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n as app_count\n\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\n\n\nselect \n dateadd('week',-1 , date_trunc('week',current_date)) as week\n , round(count(1)\n / datediff('day', date_trunc('month',current_date), date_trunc('week',current_date) )\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n )\n as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\ngroup by 1\norder by 1\n\n\n\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 566}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5901, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:02-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.775818Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select dateadd('day',-8 , date_trunc('week',current_date)) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n\nunion*/\n\nselect dateadd('day',-1 , date_trunc('week',current_date)) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n\n\nunion \n\nselect date_trunc('week',current_date) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand date_trunc('day',SUBMITTED_OR_CREATED_AT) <= current_date\n\n\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 558}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5902, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:02-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.887678Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with nm_ct as (\n select dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n , sum(change_in_number_of_seats_daily) as new_member_count\n FROM core.subscriptions_history_daily\n where growth_type = 'new'\n and day >= date_trunc('month',current_date)\n and day < date_trunc('week',current_date)\n \n union\n \n select date_trunc('week',current_date) as week_start\n , sum(change_in_number_of_seats_daily) as new_member_count\n FROM core.subscriptions_history_daily\n where growth_type = 'new'\n and day >= date_trunc('month',current_date)\n and date_trunc('day',day) <= current_date\n \n order by 1\n)\n\n, mtd_new_seat_forecast as (\n select\n dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n ,sum(daily_new_seats) as mtd_new_seats_tgt\n from stitch_ingest.finance_projections.daily_targets\n where true \n and day >= date_trunc('month',current_date)\n and day < date_trunc('week',current_date)\n \n union \n \n select\n date_trunc('week',current_date) as week_start\n ,sum(daily_new_seats) as mtd_new_seats_tgt\n from stitch_ingest.finance_projections.daily_targets\n where true \n and day >= date_trunc('month',current_date)\n and date_trunc('day', day::date) <= current_date\n \n order by 1\n)\n\n\nselect\n a.week_start\n-- ,a.new_member_count\n-- ,forecast.mtd_new_seats_tgt\n , round(a.new_member_count / forecast.mtd_new_seats_tgt,2) as forecast_pc\nfrom nm_ct a\nleft join mtd_new_seat_forecast forecast on a.week_start = forecast.week_start\norder by 1\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 346}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6155, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:02-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.975877Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:cum-count]], | |
:breakout [[:field 146510 {:temporal-unit :day}]], | |
:filter [:time-interval [:field 146510 nil] :current :quarter]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 490}, | |
:native | |
{:query | |
"SELECT date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"quarter\", CAST(current_timestamp() AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"quarter\", CAST(dateadd(quarter, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ORDER BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC", | |
:params nil}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:69)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6135, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 6135, | |
:card-name "Cumulative Apps for the Quarter", | |
:dashboard-id 322, | |
:query-hash | |
[-99, 97, -112, -16, -90, 19, -27, -27, 32, -8, 83, -60, 103, -109, -30, -87, 72, 119, 6, -42, 74, -109, 54, 38, | |
116, 66, -63, -38, 79, 50, -104, -47]}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:aggregation-options [:count] {:name "count"}]], | |
:breakout [[:field 146510 {:temporal-unit :day}]], | |
:filter | |
[:and | |
[:>= [:field 146510 {:temporal-unit :default}] [:relative-datetime 0 :quarter]] | |
[:< [:field 146510 {:temporal-unit :default}] [:relative-datetime 1 :quarter]]], | |
:order-by [[:asc [:field 146510 {:temporal-unit :day}]]]}, | |
:async? true, | |
:cache-ttl 490}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:03-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.553017Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:filter [:time-interval [:field 146510 nil] -2 :week], | |
:aggregation [[:count]], | |
:breakout [[:field 146510 {:temporal-unit :day}]]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 544}, | |
:native | |
{:query | |
"SELECT date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"week\", CAST(dateadd(week, -2, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"week\", CAST(current_timestamp() AS timestamp))) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ORDER BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC", | |
:params nil}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6129, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 6129, | |
:card-name "Daily Apps Last 2 Completed Weeks", | |
:dashboard-id 322, | |
:query-hash | |
[75, -95, 112, 101, 22, 104, -18, 103, 109, -25, -93, -7, 79, 52, 34, 109, 71, 21, -76, -99, -6, -115, -6, 27, 96, | |
100, 93, 26, 115, 83, -119, 88]}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:filter | |
[:and | |
[:>= [:field 146510 {:temporal-unit :default}] [:relative-datetime -2 :week]] | |
[:< [:field 146510 {:temporal-unit :default}] [:relative-datetime 0 :week]]], | |
:aggregation [[:aggregation-options [:count] {:name "count"}]], | |
:breakout [[:field 146510 {:temporal-unit :day}]], | |
:order-by [[:asc [:field 146510 {:temporal-unit :day}]]]}, | |
:async? true, | |
:cache-ttl 544}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:04-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.437056Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n date_trunc('week', pa.accepted_at) as app_acceptance_week\n ,case\n when pa.decision_emailed_at is null then 'x. decision not yet emailed'\n when mu.user_id is null then 'w. not_yet_paid'\n when mu.created_at is null then 'zz. err - no payment_date'\n when datediff('day', pa.accepted_at,mu.created_at) <= 7 then 'a. paid 0 to 7 days'\n when datediff('day', pa.accepted_at,mu.created_at) <= 14 then 'b. paid 8 to 14 days'\n when datediff('day', pa.accepted_at,mu.created_at) <= 21 then 'c. paid 15 to 21 days'\n when datediff('day', pa.accepted_at,mu.created_at) <= 28 then 'd. paid 22 to 28 days'\n when datediff('day', pa.accepted_at,mu.created_at) <= 60 then 'e. paid 28 to 60 days'\n when datediff('day', pa.accepted_at,mu.created_at) <= 120 then 'f. paid 61 to 120 days'\n\n --when datediff('day', pa.application_tracking_ends_at, mu.created_at) > 0 then 'k. enrolled in subsequent cohort'\n \n \n else 'k. other'\n end as payment_type\n\n ,count(1) as num_accepted_apps\n\n\nfrom core.program_applications_helper pa \nleft join (\n select \n user_id,\n min(valid_from) as created_at\n from core.members_paying_history\n group by 1\n) /*core.membership_users_table*/ mu \n\non mu.user_id = pa.user_id\n\n\nwhere true --in case I want to add parameter later\n and datediff('week', pa.accepted_at, current_date ) <= 54 \n \n \n --and pa.accepted_at >= date'2021-01-01' \ngroup by 1,2\norder by 2\n\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 744}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5710, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:05-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.109511Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: f7cc0d67ba082678444dd658f9ee1bec072a0479302256e634e796ff78f47afe\n/*select \n dateadd('day',-8 , date_trunc('week',current_date)) as week\n , round(\n sum(change_in_number_of_seats_daily) \n / datediff('day', date_trunc('month',current_date), dateadd('day', -7, date_trunc('week',current_date) ))\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n ) as proj_new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < dateadd('day',-7, date_trunc('week',current_date))\n\nunion*/\n\nselect \n dateadd('day',-1 , date_trunc('week',current_date)) as week\n ,round(\n sum(change_in_number_of_seats_daily) \n / datediff('day', date_trunc('month',current_date), date_trunc('week',current_date) )\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n ) as proj_new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)\n\nunion\n\nselect \n date_trunc('week',current_date) as week\n ,round(\n sum(change_in_number_of_seats_daily) \n / datediff('day', date_trunc('month',current_date), dateadd('day',1, date_trunc('day',current_date)) )\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n ) as proj_new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day <= date_trunc('day',current_date)\n\n\n\n\n\ngroup by 1\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"\n\n\n/*select \n dateadd('day',-8 , date_trunc('week',current_date)) as week\n , round(\n sum(change_in_number_of_seats_daily) \n / datediff('day', date_trunc('month',current_date), dateadd('day', -7, date_trunc('week',current_date) ))\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n ) as proj_new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < dateadd('day',-7, date_trunc('week',current_date))\n\nunion*/\n\nselect \n dateadd('day',-1 , date_trunc('week',current_date)) as week\n ,round(\n sum(change_in_number_of_seats_daily) \n / datediff('day', date_trunc('month',current_date), date_trunc('week',current_date) )\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n ) as proj_new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)\n\nunion\n\nselect \n date_trunc('week',current_date) as week\n ,round(\n sum(change_in_number_of_seats_daily) \n / datediff('day', date_trunc('month',current_date), dateadd('day',1, date_trunc('day',current_date)) )\n * datediff('day', date_trunc('month',current_date), dateadd('month', 1, date_trunc('month',current_date)))\n ) as proj_new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day <= date_trunc('day',current_date)\n\n\n\n\n\ngroup by 1\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 626}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5906, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:05-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.185163Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7884, | |
:filter | |
[:and | |
[:time-interval [:field 143679 nil] -50 :day {:include-current true}] | |
[:= [:field 143647 nil] "new" "expanded"]], | |
:aggregation [[:sum [:field 143656 nil]]], | |
:breakout [[:field 143679 {:temporal-unit :day}] [:field 143647 nil]], | |
:order-by [[:asc [:field 143647 nil]]]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 731}, | |
:native | |
{:query | |
"SELECT date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)) AS \"DAY\", \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" AS \"GROWTH_TYPE\", sum(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"CHANGE_IN_NUMBER_OF_SEATS_DAILY\") AS \"sum\" FROM \"ANALYTICS_PROD\".\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\" WHERE (\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" >= date_trunc(\"day\", CAST(dateadd(day, -50, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" < date_trunc(\"day\", CAST(dateadd(day, 1, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND (\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" = ? OR \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" = ?)) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)), \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" ORDER BY \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" ASC, date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)) ASC", | |
:params ("new" "expanded")}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5855, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 5855, | |
:card-name "New Members Added per Day", | |
:dashboard-id 322, | |
:query-hash | |
[112, -36, 37, 92, 33, -83, 27, 44, -118, -47, -49, -46, -75, -117, 31, -122, -73, -113, -111, 47, -16, -66, -19, | |
102, 76, -119, -38, 67, -4, -96, -5, 25]}, | |
:database 13, | |
:query | |
{:source-table 7884, | |
:filter | |
[:and | |
[:>= [:field 143679 {:temporal-unit :default}] [:relative-datetime -50 :day]] | |
[:< [:field 143679 {:temporal-unit :default}] [:relative-datetime 1 :day]] | |
[:or | |
[:= | |
[:field 143647 nil] | |
[:value | |
"new" | |
{:base_type :type/Text, | |
:effective_type :type/Text, | |
:coercion_strategy nil, | |
:semantic_type :type/Category, | |
:database_type "VARCHAR", | |
:name "GROWTH_TYPE"}]] | |
[:= | |
[:field 143647 nil] | |
[:value | |
"expanded" | |
{:base_type :type/Text, | |
:effective_type :type/Text, | |
:coercion_strategy nil, | |
:semantic_type :type/Category, | |
:database_type "VARCHAR", | |
:name "GROWTH_TYPE"}]]]], | |
:aggregation [[:aggregation-options [:sum [:field 143656 nil]] {:name "sum"}]], | |
:breakout [[:field 143679 {:temporal-unit :day}] [:field 143647 nil]], | |
:order-by [[:asc [:field 143647 nil]] [:asc [:field 143679 {:temporal-unit :day}]]]}, | |
:async? true, | |
:cache-ttl 731}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:05-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.215955Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 12482200852c89d4db4101f46dc36ae4b4737e16fa9f2afee244f99ec9deb981\nselect dateadd('week',-2 , date_trunc('week',current_date)) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\nselect dateadd('week',-1 , date_trunc('week',current_date)) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select dateadd('week',-2 , date_trunc('week',current_date)) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\nselect dateadd('week',-1 , date_trunc('week',current_date)) as week\n, count(1) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 465}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5762, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:06-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.893340Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:count]], | |
:breakout [[:field 146516 nil] [:field 146522 {:temporal-unit :week}]], | |
:filter [:time-interval [:field 146522 nil] -54 :week {:include-current true}]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 617}, | |
:native | |
{:query | |
"SELECT \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"ACCEPTED\" AS \"ACCEPTED\", date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"REVIEW_LOAD_DATE\" AS timestamp)) AS \"REVIEW_LOAD_DATE\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"REVIEW_LOAD_DATE\" >= date_trunc(\"week\", CAST(dateadd(week, -54, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"REVIEW_LOAD_DATE\" < date_trunc(\"week\", CAST(dateadd(week, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"ACCEPTED\", date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"REVIEW_LOAD_DATE\" AS timestamp)) ORDER BY \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"ACCEPTED\" ASC, date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"REVIEW_LOAD_DATE\" AS timestamp)) ASC", | |
:params nil}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5912, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 5912, | |
:card-name "Application Acceptance Rate", | |
:dashboard-id 322, | |
:query-hash | |
[2, -96, -62, 30, 83, -41, -15, -9, 66, 123, -14, -109, -58, -66, -38, -125, 26, 103, -5, -102, 105, -74, 57, 91, | |
-61, 85, -98, 6, -70, -23, -109, -64]}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:aggregation-options [:count] {:name "count"}]], | |
:breakout [[:field 146516 nil] [:field 146522 {:temporal-unit :week}]], | |
:filter | |
[:and | |
[:>= [:field 146522 {:temporal-unit :default}] [:relative-datetime -54 :week]] | |
[:< [:field 146522 {:temporal-unit :default}] [:relative-datetime 1 :week]]], | |
:order-by [[:asc [:field 146516 nil]] [:asc [:field 146522 {:temporal-unit :week}]]]}, | |
:async? true, | |
:cache-ttl 617}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:06-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.852816Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 0cbffb61b5bc64460f9d5d1585cf0aea958477f8b89217ac7b4ed426c9092136\nwith raw as (\n select \n date_trunc('month', pah.decision_emailed_at) as week_applied\n , datediff(day, pah.decision_emailed_at, mh.valid_from) as days_til_converted\n , pah.user_id\n , CONVERTED_TO_MEMBERSHIP\n from core.program_applications_helper pah\n left join core.members_history mh on mh.user_id = pah.user_id\n where accepted = true and pah.created_at >= '2020-12-28'\n), days_offset as (\n select seq4() as days_offset\n from table(generator(rowcount => 390)) v \n order by 1\n), total_users as (\n select week_applied, count(distinct user_id) as total from raw group by 1 order by 1\n), base as (\n select \n days_offset, week_applied\n from days_offset\n left join (select week_applied from total_users)\n), combo as (\n select \n days_offset\n , b.week_applied\n , tu.total as total_accepted\n , coalesce(count(distinct r.user_id), 0) as num_converted\n from base b\n left join raw r on r.days_til_converted = b.days_offset and r.week_applied = b.week_applied\n left join total_users tu on tu.week_applied = b.week_applied\n group by 1, 2, 3\n order by 1 asc, 2 asc\n), ready as (\n select \n *\n , dateadd(day, days_offset, week_applied) as est_date\n , sum(num_converted) over (partition by week_applied order by days_offset asc rows between unbounded preceding and current row) as total_converted\n , 100.0 * sum(num_converted) over (partition by week_applied order by days_offset asc rows between unbounded preceding and current row) / total_accepted as percent_converted\n from combo\n where datediff(day, week_applied, current_date) > days_offset\n)\n\nselect \n *\n , date_part('year', week_applied) as yr_applied\n , date_part('week', week_applied) as wk_applied\nfrom ready\nwhere (days_offset < 30 or mod(days_offset, 7) = 0)\n and (week_applied between '2021-01-01' and current_date or week_applied between '2022-01-01' and current_date)\n and date_part('month', week_applied) in ('02','03','04','05')\norder by week_applied, days_offset\n-- select * from ready where week_applied >= '2021-08-01'", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with raw as (\n select \n date_trunc('month', pah.decision_emailed_at) as week_applied\n , datediff(day, pah.decision_emailed_at, mh.valid_from) as days_til_converted\n , pah.user_id\n , CONVERTED_TO_MEMBERSHIP\n from core.program_applications_helper pah\n left join core.members_history mh on mh.user_id = pah.user_id\n where accepted = true and pah.created_at >= '2020-12-28'\n), days_offset as (\n select seq4() as days_offset\n from table(generator(rowcount => 390)) v \n order by 1\n), total_users as (\n select week_applied, count(distinct user_id) as total from raw group by 1 order by 1\n), base as (\n select \n days_offset, week_applied\n from days_offset\n left join (select week_applied from total_users)\n), combo as (\n select \n days_offset\n , b.week_applied\n , tu.total as total_accepted\n , coalesce(count(distinct r.user_id), 0) as num_converted\n from base b\n left join raw r on r.days_til_converted = b.days_offset and r.week_applied = b.week_applied\n left join total_users tu on tu.week_applied = b.week_applied\n group by 1, 2, 3\n order by 1 asc, 2 asc\n), ready as (\n select \n *\n , dateadd(day, days_offset, week_applied) as est_date\n , sum(num_converted) over (partition by week_applied order by days_offset asc rows between unbounded preceding and current row) as total_converted\n , 100.0 * sum(num_converted) over (partition by week_applied order by days_offset asc rows between unbounded preceding and current row) / total_accepted as percent_converted\n from combo\n where datediff(day, week_applied, current_date) > days_offset\n)\n\nselect \n *\n , date_part('year', week_applied) as yr_applied\n , date_part('week', week_applied) as wk_applied\nfrom ready\nwhere (days_offset < 30 or mod(days_offset, 7) = 0)\n and (week_applied between '2021-01-01' and current_date or week_applied between '2022-01-01' and current_date)\n and date_part('month', week_applied) in ('02','03','04','05')\norder by week_applied, days_offset\n-- select * from ready where week_applied >= '2021-08-01'", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 977}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5780, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:07-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.516536Z[GMT]", | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:template-tags | |
{"period" | |
{:id "7091863f-be98-1b85-5621-cc1eb0ce34a5", | |
:name "period", | |
:display-name "Period", | |
:type :text, | |
:required true, | |
:default "week"}}, | |
:query | |
"WITH base AS (\nselect \n mph.user_id \n , IFF(min(pah.submitted_at) IS NOT NULL, true, false) did_user_apply\n , IFF(mph.is_group_purchase = true,'group purchase','individual plan') AS is_group_purchase\n , shd.subscription_age_in_days\n , CASE WHEN mph.valid_from < min(pah.submitted_at) THEN '7.access before application'\n WHEN mph.valid_from > min(pah.submitted_at) AND min(pah.accepted_at) IS NULL AND mph.is_group_purchase = true THEN '3.access after application w/o acceptance via group'\n WHEN mph.valid_from > min(pah.submitted_at) AND min(pah.accepted_at) IS NOT NULL AND mph.is_group_purchase = true THEN '2.access after application acceptance via group'\n WHEN mph.valid_from > min(pah.submitted_at) AND mph.is_group_purchase = false THEN '1.access after application not via group'\n WHEN mph.valid_from is not null and min(pah.accepted_at) IS NULL AND mph.is_group_purchase = false THEN '5.access without acceptance or group'\n WHEN mph.valid_from is not null and min(pah.accepted_at) IS NULL AND mph.is_group_purchase = true THEN '4.access without acceptance via group'\n ELSE '6.other'\n END AS access_type\n , mph.valid_from AS ts_first_access\n , mph.valid_to AS ts_first_terminated\n , min(pah.submitted_at) AS ts_first_applied_at\n , min(pah.accepted_at) AS ts_first_accepted_at\n , max(pah.submitted_at) AS ts_last_applied_at\n , max(pah.accepted_at) AS ts_last_accepted_at\n , count(pah.id) AS num_times_applied\nfrom (SELECT *\n , ROW_NUMBER() OVER (PARTITION BY user_id ORDER BY valid_from) AS rnk \n FROM core.members_paying_history\n ) mph \nleft join core.program_applications_helper pah \n on mph.user_id = pah.user_id \n and pah.submitted_at is not null \nleft join core.SUBSCRIPTIONS_HISTORY_DAILY shd\n on mph.subscription_id = shd.subscription_id\n and date_trunc('day',mph.valid_from) = shd.day\nwhere mph.rnk=1 \n-- and mph.user_id IN (27387,81442,117682,80974,1769,16335)\ngroup by \n mph.user_id \n , mph.is_group_purchase\n , shd.subscription_age_in_days\n , mph.valid_from \n , mph.valid_to\norder by 1 \n)\n\nselect date_trunc({{period}}, ts_first_access) as week_first_access\n , access_type\n , count(*) AS num_users \n , count(*)/sum(count(*)) OVER (PARTITION BY date_trunc({{period}}, ts_first_access) ORDER BY date_trunc({{period}}, ts_first_access)) AS pct\nfrom base\nwhere ts_first_access >= dateadd({{period}}, -54, date_trunc({{period}},current_date))\n and date_trunc('day',ts_first_access) <= current_date\ngroup by 1, 2\norder by 2\n"}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 658}, | |
:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:stacktrace | |
["org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:763)" | |
"org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:793)" | |
"java.base/java.io.OutputStream.write(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.writeHeader(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"java.base/java.util.zip.GZIPOutputStream.<init>(Unknown Source)" | |
"--> async.streaming_response$output_stream_delay$fn__26898.invoke(streaming_response.clj:107)" | |
"async.streaming_response$delay_output_stream$fn__26907.invoke(streaming_response.clj:124)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.write(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.finish_BANG_(json.clj:91)" | |
"query_processor.streaming$streaming_reducedf$fn__38368.invoke(streaming.clj:128)" | |
"query_processor.context$reducedf.invokeStatic(context.clj:77)" | |
"query_processor.context$reducedf.invoke(context.clj:72)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:64)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6158, | |
:context :dashboard, | |
:error "Closed", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:08-04:00 INFO metabase.query-processor.card Question's average execution duration is 7.8 s; using 'magic' TTL of 25.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.6 s; using 'magic' TTL of 18.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.9 s; using 'magic' TTL of 9.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 6.4 s; using 'magic' TTL of 21.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.4 s; using 'magic' TTL of 18.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.2 s; using 'magic' TTL of 14.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.2 s; using 'magic' TTL of 10.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.4 s; using 'magic' TTL of 18.2 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 6.5 s; using 'magic' TTL of 21.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.6 s; using 'magic' TTL of 12.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.5 s; using 'magic' TTL of 11.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.6 s; using 'magic' TTL of 18.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 10.5 s; using 'magic' TTL of 34.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.5 s; using 'magic' TTL of 8.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 5.0 s; using 'magic' TTL of 16.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.9 s; using 'magic' TTL of 16.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.1 s; using 'magic' TTL of 13.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.8 s; using 'magic' TTL of 12.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.0 s; using 'magic' TTL of 6.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 10.1 s; using 'magic' TTL of 33.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.5 s; using 'magic' TTL of 14.9 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.7 s; using 'magic' TTL of 12.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.2 s; using 'magic' TTL of 10.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.9 s; using 'magic' TTL of 13.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 7.4 s; using 'magic' TTL of 24.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.9 s; using 'magic' TTL of 16.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.3 s; using 'magic' TTL of 7.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.236253Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 663e5c7f1ba4c2af968b0a16cb8561d294b28f3380b07959cbf53528b7411abb\nselect \n --*\n date_trunc('month', pah.SUBMITTED_OR_CREATED_AT) as period\n ,case when contains(lower(utm_campaign), 'paid') then 'paid' else 'non-paid' end as app_origin\n ,count(1) as app_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) as accepted_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) / count(1) as acceptance_pc\nfrom core.program_applications_helper pah\nwhere true\n and WAS_REVIEWED = true \n and pah.SUBMITTED_OR_CREATED_AT >= date'2022-03-01'\n and (pah.utm_campaign is null or (pah.utm_campaign != 'paid_brand_india' and pah.utm_campaign != 'paid_brand_international2.0'))\ngroup by 1,2\norder by 1,2", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n --*\n date_trunc('month', pah.SUBMITTED_OR_CREATED_AT) as period\n ,case when contains(lower(utm_campaign), 'paid') then 'paid' else 'non-paid' end as app_origin\n ,count(1) as app_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) as accepted_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) / count(1) as acceptance_pc\nfrom core.program_applications_helper pah\nwhere true\n and WAS_REVIEWED = true \n and pah.SUBMITTED_OR_CREATED_AT >= date'2022-03-01'\n and (pah.utm_campaign is null or (pah.utm_campaign != 'paid_brand_india' and pah.utm_campaign != 'paid_brand_international2.0'))\ngroup by 1,2\norder by 1,2", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 243}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 8444, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.5 s; using 'magic' TTL of 11.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 9.5 s; using 'magic' TTL of 31.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:09-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.8 s; using 'magic' TTL of 12.8 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.8 s; using 'magic' TTL of 12.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.5 s; using 'magic' TTL of 11.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5371/card/5716/query 202 [ASYNC: completed] 9.9 s (17 DB calls) App DB connections: 11/15 Jetty threads: 48/50 (0 idle, 29 queued) (274 total active threads) Queries in flight: 32 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.4 s; using 'magic' TTL of 11.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.middleware.cache Query took 949.0 ms to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.1 s; using 'magic' TTL of 13.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5353/card/5691/query 202 [ASYNC: completed] 10.1 s (16 DB calls) App DB connections: 9/15 Jetty threads: 48/50 (0 idle, 26 queued) (275 total active threads) Queries in flight: 34 (0 queued); snowflake DB 13 connections: 9/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.5 s; using 'magic' TTL of 15.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 8.0 s; using 'magic' TTL of 26.7 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.6 s; using 'magic' TTL of 15.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 2.8 s; using 'magic' TTL of 9.3 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.9 s; using 'magic' TTL of 13.0 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 DEBUG metabase.server.middleware.log GET /api/collection/root 200 1.4 s (2 DB calls) App DB connections: 12/15 Jetty threads: 48/50 (0 idle, 21 queued) (280 total active threads) Queries in flight: 39 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 4.1 s; using 'magic' TTL of 13.5 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 8.1 s; using 'magic' TTL of 27.1 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 18.4 s; using 'magic' TTL of 1.0 hours 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 3.1 s; using 'magic' TTL of 10.4 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.card Question's average execution duration is 9.5 s; using 'magic' TTL of 31.6 mins 💾 | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.middleware.cache Query took 1.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5363/card/5702/query 202 [ASYNC: completed] 10.1 s (16 DB calls) App DB connections: 12/15 Jetty threads: 48/50 (0 idle, 16 queued) (287 total active threads) Queries in flight: 43 (0 queued); snowflake DB 13 connections: 6/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.353924Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 66fb7c30ee164c7471fca31ccebe1d2f37c7df95662a47c3e20e44e92843c821\nselect datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n\n--select datediff('day', date_trunc('quarter',current_date), date_trunc('week',current_date))", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n\n--select datediff('day', date_trunc('quarter',current_date), date_trunc('week',current_date))", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 449}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6021, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.368456Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: b8655a4e820b248bd5f522fdcfd0c1dea3bfdaa2bf3c93c5c2327345b6b933f3\nwith app_ct as (\n/* select dateadd('week',-2 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-8 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n \n union\n*/ \n select dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-1 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n \n union \n \n select date_trunc('week',current_date) as week_start\n , current_date as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and date_trunc('day', SUBMITTED_OR_CREATED_AT) <= current_date\n \n order by 1\n)\n\nselect\n a.week_start\n/* ,a.week_end\n ,a.app_count\n ,forecast.mtd_applications*/\n , round(a.app_count / forecast.mtd_applications,2) as forecast_pc\nfrom app_ct a\nleft join stitch_ingest.finance_projections.daily_targets forecast on a.week_end = forecast.day\n\norder by 1", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with app_ct as (\n/* select dateadd('week',-2 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-8 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n \n union\n*/ \n select dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-1 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n \n union \n \n select date_trunc('week',current_date) as week_start\n , current_date as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and date_trunc('day', SUBMITTED_OR_CREATED_AT) <= current_date\n \n order by 1\n)\n\nselect\n a.week_start\n/* ,a.week_end\n ,a.app_count\n ,forecast.mtd_applications*/\n , round(a.app_count / forecast.mtd_applications,2) as forecast_pc\nfrom app_ct a\nleft join stitch_ingest.finance_projections.daily_targets forecast on a.week_end = forecast.day\n\norder by 1\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 517}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6128, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:10-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,176: | |
{:source-table 7884} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.325222Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: MBQL queryHash: 365b2a20da26e6fd59e32537da019c5c280050487c06ee649a54862c8d8a74fd\nSELECT date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"UTM_SOURCE\" AS \"UTM_SOURCE\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"day\", CAST(dateadd(day, -54, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"day\", CAST(dateadd(day, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)), \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"UTM_SOURCE\" ORDER BY \"count\" DESC, date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC, \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"UTM_SOURCE\" ASC", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:count]], | |
:breakout [[:field 146510 {:temporal-unit :day}] [:field 146564 nil]], | |
:filter [:time-interval [:field 146510 nil] -54 :day {:include-current true}], | |
:order-by [[:desc [:aggregation 0]]]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 332}, | |
:native | |
{:query | |
"SELECT date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"UTM_SOURCE\" AS \"UTM_SOURCE\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"day\", CAST(dateadd(day, -54, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"day\", CAST(dateadd(day, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)), \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"UTM_SOURCE\" ORDER BY \"count\" DESC, date_trunc(\"day\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC, \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"UTM_SOURCE\" ASC", | |
:params nil}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6233, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 6233, | |
:card-name "Daily Apps Generated by UTM Source", | |
:dashboard-id 322, | |
:query-hash | |
[54, 91, 42, 32, -38, 38, -26, -3, 89, -29, 37, 55, -38, 1, -100, 92, 40, 0, 80, 72, 124, 6, -18, 100, -102, 84, | |
-122, 44, -115, -118, 116, -3]}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:aggregation-options [:count] {:name "count"}]], | |
:breakout [[:field 146510 {:temporal-unit :day}] [:field 146564 nil]], | |
:filter | |
[:and | |
[:>= [:field 146510 {:temporal-unit :default}] [:relative-datetime -54 :day]] | |
[:< [:field 146510 {:temporal-unit :default}] [:relative-datetime 1 :day]]], | |
:order-by [[:desc [:aggregation 0]] [:asc [:field 146510 {:temporal-unit :day}]] [:asc [:field 146564 nil]]]}, | |
:async? true, | |
:cache-ttl 332}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.cache Query took 1.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5368/card/5707/query 202 [ASYNC: completed] 10.6 s (16 DB calls) App DB connections: 7/15 Jetty threads: 48/50 (0 idle, 16 queued) (288 total active threads) Queries in flight: 42 (0 queued); snowflake DB 13 connections: 11/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.cache Query took 1.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5341/card/5675/query 202 [ASYNC: completed] 10.7 s (16 DB calls) App DB connections: 8/15 Jetty threads: 48/50 (0 idle, 16 queued) (288 total active threads) Queries in flight: 41 (0 queued); snowflake DB 13 connections: 8/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.cache Query took 1.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5366/card/5705/query 202 [ASYNC: completed] 10.7 s (16 DB calls) App DB connections: 8/15 Jetty threads: 48/50 (0 idle, 16 queued) (288 total active threads) Queries in flight: 40 (0 queued); snowflake DB 13 connections: 14/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.cache Query took 1.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.683749Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 06d7431826a5f7e26a633eaaf4aa722f6fe51a7e37aa88b5c05b1b928625fe6d\n/*select count(1)\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n*/\n\n/*select date_trunc('month', current_date)*/\n\nselect dateadd('week',-1, date_trunc('week',current_date))", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select count(1)\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n*/\n\n/*select date_trunc('month', current_date)*/\n\nselect dateadd('week',-1, date_trunc('week',current_date))\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 501}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5923, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.cache Query took 1.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.cache Query took 2.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5332/card/5666/query 202 [ASYNC: completed] 11.3 s (16 DB calls) App DB connections: 13/15 Jetty threads: 48/50 (0 idle, 14 queued) (293 total active threads) Queries in flight: 39 (0 queued); snowflake DB 13 connections: 10/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5273/card/5245/query 202 [ASYNC: completed] 11.4 s (16 DB calls) App DB connections: 14/15 Jetty threads: 48/50 (0 idle, 14 queued) (293 total active threads) Queries in flight: 37 (0 queued); snowflake DB 13 connections: 12/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5331/card/5639/query 202 [ASYNC: completed] 11.1 s (16 DB calls) App DB connections: 14/15 Jetty threads: 48/50 (0 idle, 14 queued) (293 total active threads) Queries in flight: 38 (0 queued); snowflake DB 13 connections: 5/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:11-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.210859Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: cb7a769816eb1cce03e544f5fc1289cae4cf25d12c9dfaa792467f4f26c0b80a\nselect \n day\n ,sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= dateadd('week', -2, date_trunc('week',current_date))\nand day < date_trunc('week',current_date)\ngroup by 1\norder by 1\n\n\n/*\nselect dateadd('week',-2 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\nselect dateadd('week',-1 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)\n\norder by 1\n\n*/\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n day\n ,sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= dateadd('week', -2, date_trunc('week',current_date))\nand day < date_trunc('week',current_date)\ngroup by 1\norder by 1\n\n\n/*\nselect dateadd('week',-2 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\nselect dateadd('week',-1 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)\n\norder by 1\n\n*/\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 510}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6137, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.370739Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: cd39f9a1743e09921c24277ec1495e664d301656dc0ced89ee12fea6eb6c0351\nselect \n --*\n to_char(date_trunc('month', pah.SUBMITTED_OR_CREATED_AT), 'yyyy-mm') as period\n ,case when contains(lower(utm_campaign), 'paid') or (utm_medium = 'sem') then'paid' else 'non-paid' end as app_origin\n \n\n /*case \n when (contains(lower(utm_campaign), 'paid') or (utm_medium = 'sem')) and COUNTRY_CODE = 'IN' then'paid-india'\n when (contains(lower(utm_campaign), 'paid') or (utm_medium = 'sem')) and COUNTRY_CODE != 'IN' then'paid-RoW'\n \n else 'non-paid' end as app_origin*/\n\n --,case when COUNTRY_CODE = 'IN' then 'india' else 'RoW' end as geo_breakout\n --,lower(utm_medium) as utm_medium\n \n --utm_campaign\n ,count(1) as app_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) as accepted_ct\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) as member_conversion\n ,sum(case when pah.accepted = true then 1 else 0 end) / count(1) as acceptance_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / sum(case when pah.accepted = true then 1 else 0 end) as cvr_from_accepted_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / count(1) as cvr_from_app_pc \nfrom core.program_applications_helper pah\nwhere true\n and WAS_REVIEWED = true \n and pah.SUBMITTED_OR_CREATED_AT >= date'2022-05-01'\n --and contains(lower(utm_campaign), 'paid') = true\n --and utm_medium = 'sem'\ngroup by 1,2\norder by 1,2", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n --*\n to_char(date_trunc('month', pah.SUBMITTED_OR_CREATED_AT), 'yyyy-mm') as period\n ,case when contains(lower(utm_campaign), 'paid') or (utm_medium = 'sem') then'paid' else 'non-paid' end as app_origin\n \n\n /*case \n when (contains(lower(utm_campaign), 'paid') or (utm_medium = 'sem')) and COUNTRY_CODE = 'IN' then'paid-india'\n when (contains(lower(utm_campaign), 'paid') or (utm_medium = 'sem')) and COUNTRY_CODE != 'IN' then'paid-RoW'\n \n else 'non-paid' end as app_origin*/\n\n --,case when COUNTRY_CODE = 'IN' then 'india' else 'RoW' end as geo_breakout\n --,lower(utm_medium) as utm_medium\n \n --utm_campaign\n ,count(1) as app_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) as accepted_ct\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) as member_conversion\n ,sum(case when pah.accepted = true then 1 else 0 end) / count(1) as acceptance_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / sum(case when pah.accepted = true then 1 else 0 end) as cvr_from_accepted_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / count(1) as cvr_from_app_pc \nfrom core.program_applications_helper pah\nwhere true\n and WAS_REVIEWED = true \n and pah.SUBMITTED_OR_CREATED_AT >= date'2022-05-01'\n --and contains(lower(utm_campaign), 'paid') = true\n --and utm_medium = 'sem'\ngroup by 1,2\norder by 1,2 ", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 438}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 8456, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.590409Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: MBQL queryHash: 4f781f399303fa582e451cacd3e2480299221068c41e03adc6f7631b46f54864\nSELECT date_trunc(\"month\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"month\", CAST(dateadd(month, -25, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"month\", CAST(dateadd(month, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"month\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ORDER BY date_trunc(\"month\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:count]], | |
:breakout [[:field 146510 {:temporal-unit :month}]], | |
:filter [:time-interval [:field 146510 nil] -25 :month {:include-current true}]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 500}, | |
:native | |
{:query | |
"SELECT date_trunc(\"month\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"month\", CAST(dateadd(month, -25, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"month\", CAST(dateadd(month, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"month\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ORDER BY date_trunc(\"month\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC", | |
:params nil}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6244, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 6244, | |
:card-name "Monthly Applications Generated", | |
:dashboard-id 322, | |
:query-hash | |
[79, 120, 31, 57, -109, 3, -6, 88, 46, 69, 28, -84, -45, -30, 72, 2, -103, 34, 16, 104, -60, 30, 3, -83, -58, -9, | |
99, 27, 70, -11, 72, 100]}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:aggregation-options [:count] {:name "count"}]], | |
:breakout [[:field 146510 {:temporal-unit :month}]], | |
:filter | |
[:and | |
[:>= [:field 146510 {:temporal-unit :default}] [:relative-datetime -25 :month]] | |
[:< [:field 146510 {:temporal-unit :default}] [:relative-datetime 1 :month]]], | |
:order-by [[:asc [:field 146510 {:temporal-unit :month}]]]}, | |
:async? true, | |
:cache-ttl 500}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.cache Query took 2.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.cache Query took 2.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.cache Query took 1.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.cache Query took 1.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5287/card/5390/query 202 [ASYNC: completed] 11.6 s (16 DB calls) App DB connections: 15/15 Jetty threads: 48/50 (0 idle, 14 queued) (287 total active threads) Queries in flight: 36 (0 queued); snowflake DB 13 connections: 13/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5301/card/5426/query 202 [ASYNC: completed] 11.9 s (16 DB calls) App DB connections: 12/15 Jetty threads: 48/50 (0 idle, 14 queued) (287 total active threads) Queries in flight: 35 (0 queued); snowflake DB 13 connections: 7/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5367/card/5706/query 202 [ASYNC: completed] 12.0 s (16 DB calls) App DB connections: 13/15 Jetty threads: 48/50 (0 idle, 14 queued) (286 total active threads) Queries in flight: 34 (0 queued); snowflake DB 13 connections: 15/15 (0 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5340/card/5674/query 202 [ASYNC: completed] 12.1 s (16 DB calls) App DB connections: 8/15 Jetty threads: 48/50 (0 idle, 14 queued) (288 total active threads) Queries in flight: 34 (0 queued); snowflake DB 13 connections: 15/15 (12 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5289/card/5392/query 202 [ASYNC: completed] 11.8 s (16 DB calls) App DB connections: 9/15 Jetty threads: 48/50 (0 idle, 14 queued) (288 total active threads) Queries in flight: 32 (0 queued); snowflake DB 13 connections: 15/15 (13 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:47.950374Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: SQL execution canceled", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: MBQL queryHash: 4a85a37ce0a1d8e6265842c0377e998c8842b54577243c0c7108a80cfb366667\nSELECT date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"week\", CAST(dateadd(week, -54, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"week\", CAST(dateadd(week, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ORDER BY date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:count]], | |
:breakout [[:field 146510 {:temporal-unit :week}]], | |
:filter [:time-interval [:field 146510 nil] -54 :week {:include-current true}]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 769}, | |
:native | |
{:query | |
"SELECT date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) AS \"SUBMITTED_OR_CREATED_AT\", count(*) AS \"count\" FROM \"ANALYTICS_PROD\".\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\" WHERE (\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" >= date_trunc(\"week\", CAST(dateadd(week, -54, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" < date_trunc(\"week\", CAST(dateadd(week, 1, CAST(current_timestamp() AS timestamp)) AS timestamp))) GROUP BY date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ORDER BY date_trunc(\"week\", CAST(\"CORE\".\"PROGRAM_APPLICATIONS_HELPER\".\"SUBMITTED_OR_CREATED_AT\" AS timestamp)) ASC", | |
:params nil}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5818, | |
:context :dashboard, | |
:error "SQL execution canceled", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 5818, | |
:card-name "Weekly Apps Generated", | |
:dashboard-id 322, | |
:query-hash | |
[74, -123, -93, 124, -32, -95, -40, -26, 38, 88, 66, -64, 55, 126, -103, -116, -120, 66, -75, 69, 119, 36, 60, 12, | |
113, 8, -88, 12, -5, 54, 102, 103]}, | |
:database 13, | |
:query | |
{:source-table 7856, | |
:aggregation [[:aggregation-options [:count] {:name "count"}]], | |
:breakout [[:field 146510 {:temporal-unit :week}]], | |
:filter | |
[:and | |
[:>= [:field 146510 {:temporal-unit :default}] [:relative-datetime -54 :week]] | |
[:< [:field 146510 {:temporal-unit :default}] [:relative-datetime 1 :week]]], | |
:order-by [[:asc [:field 146510 {:temporal-unit :week}]]]}, | |
:async? true, | |
:cache-ttl 769}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5286/card/5381/query 202 [ASYNC: completed] 12.4 s (17 DB calls) App DB connections: 5/15 Jetty threads: 48/50 (0 idle, 14 queued) (290 total active threads) Queries in flight: 31 (0 queued) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.cache Query took 1.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 INFO metabase.query-processor.middleware.cache Query took 2.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:12-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5361/card/5700/query 202 [ASYNC: completed] 12.5 s (16 DB calls) App DB connections: 6/15 Jetty threads: 48/50 (0 idle, 14 queued) (291 total active threads) Queries in flight: 30 (0 queued); snowflake DB 13 connections: 15/15 (12 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5337/card/5671/query 202 [ASYNC: completed] 12.3 s (16 DB calls) App DB connections: 7/15 Jetty threads: 48/50 (0 idle, 14 queued) (291 total active threads) Queries in flight: 29 (0 queued); snowflake DB 13 connections: 15/15 (15 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:49.212787Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 0608ec30907b42b94e80f9947d052e60acba8b94581eb4b84caf56d98afcb592\nselect \n --*\n --date_trunc('month', pah.SUBMITTED_OR_CREATED_AT) as period\n --,case when contains(lower(utm_campaign), 'paid') then 'paid' else 'non-paid' end as app_origin\n utm_campaign\n ,count(1) as app_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) as accepted_ct\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) as member_conversion\n ,sum(case when pah.accepted = true then 1 else 0 end) / count(1) as acceptance_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / sum(case when pah.accepted = true then 1 else 0 end) as cvr_from_accepted_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / count(1) as cvr_from_app_pc\nfrom core.program_applications_helper pah\nwhere true\n and WAS_REVIEWED = true \n and pah.SUBMITTED_OR_CREATED_AT >= date'2022-07-01'\n and contains(lower(utm_campaign), 'paid') = true\ngroup by 1\norder by 2 desc", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n --*\n --date_trunc('month', pah.SUBMITTED_OR_CREATED_AT) as period\n --,case when contains(lower(utm_campaign), 'paid') then 'paid' else 'non-paid' end as app_origin\n utm_campaign\n ,count(1) as app_ct\n ,sum(case when pah.accepted = true then 1 else 0 end) as accepted_ct\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) as member_conversion\n ,sum(case when pah.accepted = true then 1 else 0 end) / count(1) as acceptance_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / sum(case when pah.accepted = true then 1 else 0 end) as cvr_from_accepted_pc\n ,sum(case when CONVERTED_TO_MEMBERSHIP then 1 else 0 end) / count(1) as cvr_from_app_pc\nfrom core.program_applications_helper pah\nwhere true\n and WAS_REVIEWED = true \n and pah.SUBMITTED_OR_CREATED_AT >= date'2022-07-01'\n and contains(lower(utm_campaign), 'paid') = true\ngroup by 1\norder by 2 desc", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 437}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 8453, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,176: | |
{:source-table 7884} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.642741Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 537ec87abc5782ee87546dec6644342e178e3cc93b858730bd1b6377648e80f6\n--select datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n\nselect datediff('day', date_trunc('quarter',current_date), date_trunc('week',current_date))", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"--select datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n\nselect datediff('day', date_trunc('quarter',current_date), date_trunc('week',current_date))", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 467}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6020, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 INFO metabase.query-processor.middleware.cache Query took 1.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5308/card/5465/query 202 [ASYNC: completed] 12.9 s (16 DB calls) App DB connections: 5/15 Jetty threads: 48/50 (0 idle, 14 queued) (297 total active threads) Queries in flight: 28 (0 queued); snowflake DB 13 connections: 15/15 (20 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 4,174: | |
{:source-table 7875} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5354/card/5692/query 202 [ASYNC: completed] 13.1 s (16 DB calls) App DB connections: 6/15 Jetty threads: 48/50 (0 idle, 14 queued) (298 total active threads) Queries in flight: 27 (0 queued); snowflake DB 13 connections: 15/15 (13 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:13-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.598736Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 57cfe198a4c4e520df62c10f23266d9ac5e8f867bc6217e7c7e2296235742f17\nselect \n date_trunc('week', SUBMITTED_AT) AS period_submitted\n , case when status in ('applied', 'review') then 'a. review not completed'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 7 then 'b. 0-7 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 14 then 'c. 8-14 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 21 then 'd. 15-21 days'\n else 'e. 22+ days'\n end as days_to_process\n\n ,count(1) as apps_submitted\n\n\nfrom core.program_applications_helper pa\nwhere pa.submitted_or_created_at >= '2021-01-01'\n\ngroup by 1,2\norder by 2", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n date_trunc('week', SUBMITTED_AT) AS period_submitted\n , case when status in ('applied', 'review') then 'a. review not completed'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 7 then 'b. 0-7 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 14 then 'c. 8-14 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 21 then 'd. 15-21 days'\n else 'e. 22+ days'\n end as days_to_process\n\n ,count(1) as apps_submitted\n\n\nfrom core.program_applications_helper pa\nwhere pa.submitted_or_created_at >= '2021-01-01'\n\ngroup by 1,2\norder by 2", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 720}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5683, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 INFO metabase.query-processor.middleware.cache Query took 3.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.816831Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 491d9844ea5be16306cb0b62fedd75bf3f7a281be07879698b2d88980fadf60c\nwith app_ct as (\n select dateadd('week',-2 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-8 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n \n union\n \n select dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-1 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n \n order by 1\n)\n\nselect\n a.week_start\n --,a.app_count\n --,forecast.mtd_applications\n , round(a.app_count / forecast.mtd_applications,2) as forecast_pc\nfrom app_ct a\nleft join stitch_ingest.finance_projections.daily_targets forecast on a.week_end = forecast.day\norder by 1", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with app_ct as (\n select dateadd('week',-2 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-8 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n \n union\n \n select dateadd('week',-1 , date_trunc('week',current_date)) as week_start\n , dateadd('day',-1 , date_trunc('week',current_date)) as week_end\n , count(1) as app_count\n from core.PROGRAM_APPLICATIONS_HELPER\n where SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\n and SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n \n order by 1\n)\n\nselect\n a.week_start\n --,a.app_count\n --,forecast.mtd_applications\n , round(a.app_count / forecast.mtd_applications,2) as forecast_pc\nfrom app_ct a\nleft join stitch_ingest.finance_projections.daily_targets forecast on a.week_end = forecast.day\norder by 1\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 495}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6126, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.465275Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 12008916fcebadea0ff4dbf97007fc8ad465a213921c49bab1120ef18e1c5faf\nselect \n date_trunc('week', accepted_at) AS period_accepted\n , case when decision_emailed_at is null then 'a. decision yet emailed'\n when datediff('day', accepted_at,decision_emailed_at) <= 0 then 'b. same day'\n when datediff('day', accepted_at,decision_emailed_at) <= 1 then 'c. next day'\n when datediff('day', accepted_at,decision_emailed_at) <= 3 then 'd. within 3 days'\n else 'e. 4+ days'\n end as days_to_email\n ,count(1) as num_accepted_apps \n\n\nfrom core.program_applications_helper pa\nwhere pa.accepted_at >= '2021-01-01'\n\ngroup by 1,2\norder by 2", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n date_trunc('week', accepted_at) AS period_accepted\n , case when decision_emailed_at is null then 'a. decision yet emailed'\n when datediff('day', accepted_at,decision_emailed_at) <= 0 then 'b. same day'\n when datediff('day', accepted_at,decision_emailed_at) <= 1 then 'c. next day'\n when datediff('day', accepted_at,decision_emailed_at) <= 3 then 'd. within 3 days'\n else 'e. 4+ days'\n end as days_to_email\n ,count(1) as num_accepted_apps \n\n\nfrom core.program_applications_helper pa\nwhere pa.accepted_at >= '2021-01-01'\n\ngroup by 1,2\norder by 2", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 699}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5695, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 INFO metabase.query-processor.middleware.cache Query took 2.6 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 INFO metabase.query-processor.middleware.cache Query took 2.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 INFO metabase.query-processor.middleware.cache Query took 2.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5343/card/5677/query 202 [ASYNC: completed] 13.8 s (16 DB calls) App DB connections: 8/15 Jetty threads: 48/50 (0 idle, 14 queued) (286 total active threads) Queries in flight: 26 (0 queued); snowflake DB 13 connections: 15/15 (11 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5274/card/5346/query 202 [ASYNC: completed] 14.1 s (16 DB calls) App DB connections: 9/15 Jetty threads: 48/50 (0 idle, 14 queued) (286 total active threads) Queries in flight: 25 (0 queued); snowflake DB 13 connections: 15/15 (17 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5365/card/5704/query 202 [ASYNC: completed] 13.9 s (16 DB calls) App DB connections: 9/15 Jetty threads: 48/50 (0 idle, 14 queued) (286 total active threads) Queries in flight: 24 (0 queued); snowflake DB 13 connections: 15/15 (18 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 INFO metabase.query-processor.middleware.cache Query took 3.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.869648Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: cc21a7651edbf5196f8ae055d9ddab72a99049431aca23aafaa54e067d64cfb3\nselect \n date_trunc('week', SUBMITTED_AT) AS period_submitted\n , case when status in ('applied', 'review') then 'a. review not completed'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 7 then 'b. 0-7 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 14 then 'c. 8-14 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 21 then 'd. 15-21 days'\n else 'e. 22+ days'\n end as days_to_process\n\n ,count(1) \n\n\nfrom core.program_applications_helper pa\nwhere pa.submitted_or_created_at >= '2021-01-01'\n\ngroup by 1,2\norder by 1,2", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n date_trunc('week', SUBMITTED_AT) AS period_submitted\n , case when status in ('applied', 'review') then 'a. review not completed'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 7 then 'b. 0-7 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 14 then 'c. 8-14 days'\n when datediff('day', SUBMITTED_AT,coalesce(accepted_at, rejected_at)) <= 21 then 'd. 15-21 days'\n else 'e. 22+ days'\n end as days_to_process\n\n ,count(1) \n\n\nfrom core.program_applications_helper pa\nwhere pa.submitted_or_created_at >= '2021-01-01'\n\ngroup by 1,2\norder by 1,2", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 620}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5684, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5357/card/5696/query 202 [ASYNC: completed] 14.0 s (16 DB calls) App DB connections: 8/15 Jetty threads: 48/50 (0 idle, 14 queued) (280 total active threads) Queries in flight: 23 (0 queued); snowflake DB 13 connections: 15/15 (10 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5272/card/5247/query 202 [ASYNC: completed] 14.1 s (16 DB calls) App DB connections: 8/15 Jetty threads: 48/50 (0 idle, 14 queued) (280 total active threads) Queries in flight: 22 (0 queued); snowflake DB 13 connections: 15/15 (16 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 INFO metabase.query-processor.middleware.cache Query took 2.9 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5296/card/5418/query 202 [ASYNC: completed] 14.1 s (16 DB calls) App DB connections: 4/15 Jetty threads: 48/50 (0 idle, 14 queued) (283 total active threads) Queries in flight: 21 (0 queued); snowflake DB 13 connections: 15/15 (14 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 INFO metabase.query-processor.middleware.cache Query took 4.1 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:14-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5277/card/5357/query 202 [ASYNC: completed] 14.5 s (16 DB calls) App DB connections: 6/15 Jetty threads: 48/50 (0 idle, 14 queued) (285 total active threads) Queries in flight: 20 (0 queued); snowflake DB 13 connections: 15/15 (9 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.975027Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 06d7431826a5f7e26a633eaaf4aa722f6fe51a7e37aa88b5c05b1b928625fe6d\n/*select count(1)\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n*/\n\n/*select date_trunc('month', current_date)*/\n\nselect dateadd('week',-1, date_trunc('week',current_date))", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select count(1)\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n*/\n\n/*select date_trunc('month', current_date)*/\n\nselect dateadd('week',-1, date_trunc('week',current_date))\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 501}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5923, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 INFO metabase.query-processor.middleware.cache Query took 3.4 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5276/card/5248/query 202 [ASYNC: completed] 14.9 s (16 DB calls) App DB connections: 5/15 Jetty threads: 48/50 (0 idle, 14 queued) (292 total active threads) Queries in flight: 19 (0 queued); snowflake DB 13 connections: 15/15 (19 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 INFO metabase.query-processor.middleware.cache Query took 5.2 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5355/card/5693/query 202 [ASYNC: completed] 14.7 s (16 DB calls) App DB connections: 7/15 Jetty threads: 48/50 (0 idle, 14 queued) (292 total active threads) Queries in flight: 18 (0 queued); snowflake DB 13 connections: 15/15 (7 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:47.960666Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 9d3ff4a526440d066d5048c907f5da667020febe88c195b05096363c971c9bba\n/*select count(1)\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n\n\n/*select date_trunc('week',current_date)*/\nselect date_trunc('month', current_date)", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select count(1)\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('month',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\n\n\n/*select date_trunc('week',current_date)*/\nselect date_trunc('month', current_date)\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 229}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5764, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 INFO metabase.query-processor.middleware.cache Query took 5.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5352/card/5690/query 202 [ASYNC: completed] 15.1 s (16 DB calls) App DB connections: 6/15 Jetty threads: 48/50 (0 idle, 14 queued) (294 total active threads) Queries in flight: 17 (0 queued); snowflake DB 13 connections: 15/15 (1 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 INFO metabase.query-processor.middleware.cache Query took 4.5 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5297/card/5420/query 202 [ASYNC: completed] 15.2 s (16 DB calls) App DB connections: 4/15 Jetty threads: 48/50 (0 idle, 14 queued) (295 total active threads) Queries in flight: 16 (0 queued); snowflake DB 13 connections: 15/15 (14 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 INFO metabase.query-processor.middleware.cache Query took 4.0 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5342/card/5676/query 202 [ASYNC: completed] 15.3 s (16 DB calls) App DB connections: 6/15 Jetty threads: 48/50 (0 idle, 14 queued) (297 total active threads) Queries in flight: 15 (0 queued); snowflake DB 13 connections: 15/15 (15 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.138798Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:69)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: MBQL queryHash: 7ad68c2133e10c818b88a5cc482a7790b464bd14cb359a80636adee1e3833692\nSELECT date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)) AS \"DAY\", \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" AS \"GROWTH_TYPE\", sum(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"CHANGE_IN_NUMBER_OF_SEATS_DAILY\") AS \"sum\", sum(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"CHANGE_IN_NUMBER_OF_SEATS_DAILY\") AS \"sum_2\" FROM \"ANALYTICS_PROD\".\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\" WHERE (\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" >= date_trunc(\"quarter\", CAST(current_timestamp() AS timestamp)) AND \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" < date_trunc(\"quarter\", CAST(dateadd(quarter, 1, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" = ?) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)), \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" ORDER BY date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)) ASC, \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" ASC", | |
:params ("new"), | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:database 13, | |
:query | |
{:source-table 7884, | |
:filter [:and [:time-interval [:field 143679 nil] :current :quarter] [:= [:field 143647 nil] "new"]], | |
:aggregation [[:cum-sum [:field 143656 nil]] [:sum [:field 143656 nil]]], | |
:breakout [[:field 143679 {:temporal-unit :day}] [:field 143647 nil]]}, | |
:parameters [], | |
:async? true, | |
:cache-ttl 646}, | |
:native | |
{:query | |
"SELECT date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)) AS \"DAY\", \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" AS \"GROWTH_TYPE\", sum(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"CHANGE_IN_NUMBER_OF_SEATS_DAILY\") AS \"sum\", sum(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"CHANGE_IN_NUMBER_OF_SEATS_DAILY\") AS \"sum_2\" FROM \"ANALYTICS_PROD\".\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\" WHERE (\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" >= date_trunc(\"quarter\", CAST(current_timestamp() AS timestamp)) AND \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" < date_trunc(\"quarter\", CAST(dateadd(quarter, 1, CAST(current_timestamp() AS timestamp)) AS timestamp)) AND \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" = ?) GROUP BY date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)), \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" ORDER BY date_trunc(\"day\", CAST(\"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"DAY\" AS timestamp)) ASC, \"CORE\".\"SUBSCRIPTIONS_HISTORY_DAILY\".\"GROWTH_TYPE\" ASC", | |
:params ("new")}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:245)" | |
"net.snowflake.client.jdbc.SnowflakePreparedStatementV1.executeQuery(SnowflakePreparedStatementV1.java:117)" | |
"com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:1471)" | |
"--> driver.sql_jdbc.execute$fn__53219.invokeStatic(execute.clj:364)" | |
"driver.sql_jdbc.execute$fn__53219.invoke(execute.clj:362)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:377)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:69)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5858, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:preprocessed | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :query, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:info | |
{:executed-by 191, | |
:context :dashboard, | |
:card-id 5858, | |
:card-name "Q3 New Member Growth Goal", | |
:dashboard-id 322, | |
:query-hash | |
[122, -42, -116, 33, 51, -31, 12, -127, -117, -120, -91, -52, 72, 42, 119, -112, -76, 100, -67, 20, -53, 53, -102, | |
-128, 99, 106, -34, -31, -29, -125, 54, -110]}, | |
:database 13, | |
:query | |
{:source-table 7884, | |
:filter | |
[:and | |
[:>= [:field 143679 {:temporal-unit :default}] [:relative-datetime 0 :quarter]] | |
[:< [:field 143679 {:temporal-unit :default}] [:relative-datetime 1 :quarter]] | |
[:= | |
[:field 143647 nil] | |
[:value | |
"new" | |
{:base_type :type/Text, | |
:effective_type :type/Text, | |
:coercion_strategy nil, | |
:semantic_type :type/Category, | |
:database_type "VARCHAR", | |
:name "GROWTH_TYPE"}]]], | |
:aggregation | |
[[:aggregation-options [:sum [:field 143656 nil]] {:name "sum"}] | |
[:aggregation-options [:sum [:field 143656 nil]] {:name "sum_2"}]], | |
:breakout [[:field 143679 {:temporal-unit :day}] [:field 143647 nil]], | |
:order-by [[:asc [:field 143679 {:temporal-unit :day}]] [:asc [:field 143647 nil]]]}, | |
:async? true, | |
:cache-ttl 646}, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:15-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.913474Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 39300c2cce50834b9183c55301b3de06b17decf7bd657a84055fb8b493162f53\n/*select sum(change_in_number_of_seats_daily)\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)*/\n\n\nselect dateadd('week',-2 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\nselect dateadd('week',-1 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)\n\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"/*select sum(change_in_number_of_seats_daily)\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)*/\n\n\nselect dateadd('week',-2 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\nselect dateadd('week',-1 , date_trunc('week',current_date)) as week\n, sum(change_in_number_of_seats_daily) as new_member_count\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)\n\norder by 1\n\n\n\n/*select dateadd('day',-7, date_trunc('week',current_date))*/\n\n\n/*SELECT day \n , sum(number_of_seats)\nFROM core.subscriptions_history_daily\nWHERE (day = LEAST(report_date,current_date - interval '1 day')\n OR day = LEAST(report_date-365,current_date - 366)\n )\n AND growth_type != 'dunning'\nGROUP BY 1 \nORDER BY 1*/\n/*\nselect date_trunc('week',current_date -7 ), 100;\nselect date_trunc('week',current_date), 500 union \n*/", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 608}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5774, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.494685Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error | |
"Error executing query: SQL compilation error: error line 6 at position 88\ninvalid identifier 'CONVERTED_TO_MEMBERSHIP_AT'", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: cf022d17c3594fd0c536b00690dcf6a226f85b0f7b4adc85263844e0ec47bb3c\nwith phm as (\n select \n *\n ,case \n when converted_to_membership = false then null\n when date_trunc('quarter', SUBMITTED_OR_CREATED_AT) = date_trunc('quarter', converted_to_membership_at) then 'same_qtr' \n else 'other_qtr'\n end as x_is_same_qtr_converted\n \n\n from core.program_applications_helper\n)\n\nselect\n date_trunc('quarter',converted_to_membership_at) as quarter_membership_subscribed\n , x_is_same_qtr_converted\n , count (1) as new_members_from_apps\nfrom phm\nwhere converted_to_membership = true\nand converted_to_membership_at >= date'2021-01-01'\ngroup by 1,2\norder by 2", | |
:params nil, | |
:type :invalid-query}}], | |
:state "42000", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"with phm as (\n select \n *\n ,case \n when converted_to_membership = false then null\n when date_trunc('quarter', SUBMITTED_OR_CREATED_AT) = date_trunc('quarter', converted_to_membership_at) then 'same_qtr' \n else 'other_qtr'\n end as x_is_same_qtr_converted\n \n\n from core.program_applications_helper\n)\n\nselect\n date_trunc('quarter',converted_to_membership_at) as quarter_membership_subscribed\n , x_is_same_qtr_converted\n , count (1) as new_members_from_apps\nfrom phm\nwhere converted_to_membership = true\nand converted_to_membership_at >= date'2021-01-01'\ngroup by 1,2\norder by 2", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 510}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:127)" | |
"net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:67)" | |
"net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:442)" | |
"net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:345)" | |
"net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:486)" | |
"net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:197)" | |
"net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:134)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:743)" | |
"net.snowflake.client.core.SFStatement.execute(SFStatement.java:639)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5911, | |
:context :dashboard, | |
:error "SQL compilation error: error line 6 at position 88\ninvalid identifier 'CONVERTED_TO_MEMBERSHIP_AT'", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:47.963209Z[GMT]", | |
:via | |
[{:status :failed, | |
:class org.eclipse.jetty.io.EofException, | |
:error nil, | |
:stacktrace | |
["org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279)" | |
"org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)" | |
"org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:277)" | |
"org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:381)" | |
"org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:826)" | |
"org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)" | |
"org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:223)" | |
"org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:550)" | |
"org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:915)" | |
"org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:987)" | |
"org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:285)" | |
"org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:269)" | |
"org.eclipse.jetty.server.HttpOutput.flush(HttpOutput.java:749)" | |
"java.base/java.util.zip.DeflaterOutputStream.flush(Unknown Source)" | |
"--> async.streaming_response$delay_output_stream$fn__26905.invoke(streaming_response.clj:119)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.flush(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.write_row_BANG_(json.clj:71)" | |
"query_processor.streaming$streaming_rff$fn__38359$fn__38364.invoke(streaming.clj:123)" | |
"query_processor.middleware.process_userland_query$add_and_save_execution_info_xform_BANG_$execution_info_rf_STAR___50910.invoke(process_userland_query.clj:101)" | |
"query_processor.reducible$combine_additional_reducing_fns$fn__43305.invoke(reducible.clj:215)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated_xform$fn__48345.invoke(add_rows_truncated.clj:27)" | |
"query_processor.middleware.format_rows$format_rows_xform$fn__51205.invoke(format_rows.clj:68)" | |
"query_processor.reducible$combine_additional_reducing_fns$fn__43305.invoke(reducible.clj:215)" | |
"query_processor.middleware.cache$save_results_xform$fn__50742.invoke(cache.clj:108)" | |
"query_processor.middleware.limit$limit_xform$fn__47988.invoke(limit.clj:24)" | |
"query_processor.reducible$reducible_rows$reify__43298.reduce(reducible.clj:159)" | |
"query_processor.context.default$default_reducef$fn__37334.invoke(default.clj:58)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:57)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"]} | |
{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error reducing result rows", | |
:stacktrace | |
["--> query_processor.context.default$default_reducef$fn__37334.invoke(default.clj:60)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:57)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :qp, | |
:ex-data {:type :qp}}], | |
:error_type :qp, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select date_trunc({{date_period}},accepted_at) as acceptance_period\n, case \n when datediff('week', date_trunc('week', SUBMITTED_OR_CREATED_AT), date_trunc('week', accepted_at)) = 0 then '1. same week'\n when datediff('week', date_trunc('week', SUBMITTED_OR_CREATED_AT), date_trunc('week', accepted_at)) = 1 then '2. prior week'\n else '9. other'\n end as acceptance_processsing\n, count(1) as accepted_app_cts\nfrom core.program_applications_helper\nwhere accepted_at is not null\nand datediff({{date_period}}, date_trunc({{date_period}}, accepted_at), date_trunc({{date_period}}, current_date)) <= 50\ngroup by 1,2 \norder by 2 desc, 1 desc\n\n", | |
:template-tags | |
{"date_period" | |
{:id "15df85ff-3e78-ba41-a49b-86db3d40fda6", | |
:name "date_period", | |
:display-name "Date period", | |
:type :text, | |
:required true, | |
:default "day"}}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 575}, | |
:status :failed, | |
:class java.io.IOException, | |
:stacktrace | |
["java.base/sun.nio.ch.FileDispatcherImpl.writev0(Native Method)" | |
"java.base/sun.nio.ch.SocketDispatcher.writev(Unknown Source)" | |
"java.base/sun.nio.ch.IOUtil.write(Unknown Source)" | |
"java.base/sun.nio.ch.IOUtil.write(Unknown Source)" | |
"java.base/sun.nio.ch.SocketChannelImpl.write(Unknown Source)" | |
"java.base/java.nio.channels.SocketChannel.write(Unknown Source)" | |
"org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:273)" | |
"org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)" | |
"org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:277)" | |
"org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:381)" | |
"org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:826)" | |
"org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)" | |
"org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:223)" | |
"org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:550)" | |
"org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:915)" | |
"org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:987)" | |
"org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:285)" | |
"org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:269)" | |
"org.eclipse.jetty.server.HttpOutput.flush(HttpOutput.java:749)" | |
"java.base/java.util.zip.DeflaterOutputStream.flush(Unknown Source)" | |
"--> async.streaming_response$delay_output_stream$fn__26905.invoke(streaming_response.clj:119)" | |
"async.streaming_response.proxy$java.io.OutputStream$ff19274a.flush(Unknown Source)" | |
"query_processor.streaming.json$fn$reify__37605.write_row_BANG_(json.clj:71)" | |
"query_processor.streaming$streaming_rff$fn__38359$fn__38364.invoke(streaming.clj:123)" | |
"query_processor.middleware.process_userland_query$add_and_save_execution_info_xform_BANG_$execution_info_rf_STAR___50910.invoke(process_userland_query.clj:101)" | |
"query_processor.reducible$combine_additional_reducing_fns$fn__43305.invoke(reducible.clj:215)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated_xform$fn__48345.invoke(add_rows_truncated.clj:27)" | |
"query_processor.middleware.format_rows$format_rows_xform$fn__51205.invoke(format_rows.clj:68)" | |
"query_processor.reducible$combine_additional_reducing_fns$fn__43305.invoke(reducible.clj:215)" | |
"query_processor.middleware.cache$save_results_xform$fn__50742.invoke(cache.clj:108)" | |
"query_processor.middleware.limit$limit_xform$fn__47988.invoke(limit.clj:24)" | |
"query_processor.reducible$reducible_rows$reify__43298.reduce(reducible.clj:159)" | |
"query_processor.context.default$default_reducef$fn__37334.invoke(default.clj:58)" | |
"query_processor.context.default$default_reducef.invokeStatic(default.clj:57)" | |
"query_processor.context.default$default_reducef.invoke(default.clj:48)" | |
"query_processor.context$reducef.invokeStatic(context.clj:69)" | |
"query_processor.context$reducef.invoke(context.clj:62)" | |
"query_processor.context.default$default_runf$respond_STAR___37338.invoke(default.clj:69)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:509)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 5816, | |
:context :dashboard, | |
:error "Broken pipe", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 INFO metabase.query-processor.middleware.cache Query took 5.8 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 INFO metabase.query-processor.middleware.cache Query took 4.3 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5364/card/5703/query 202 [ASYNC: completed] 15.5 s (16 DB calls) App DB connections: 8/15 Jetty threads: 48/50 (0 idle, 14 queued) (297 total active threads) Queries in flight: 14 (0 queued); snowflake DB 13 connections: 15/15 (8 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5356/card/5694/query 202 [ASYNC: completed] 15.7 s (16 DB calls) App DB connections: 7/15 Jetty threads: 48/50 (0 idle, 14 queued) (297 total active threads) Queries in flight: 13 (0 queued); snowflake DB 13 connections: 15/15 (14 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.243892Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: b3069467e72020a3e10ec390c36d682f84b124c7ccff39801862391c3435ae8c\nselect \n dateadd('week',-2 , date_trunc('week',current_date)) as week\n , round(count(1) \n / datediff('day', date_trunc('quarter',current_date), dateadd('day', -7, date_trunc('week',current_date) ))\n * datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n ) as app_count\n\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('quarter',current_date)\nand SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\n\nselect \n dateadd('week',-1 , date_trunc('week',current_date)) as week\n , round(count(1)\n / datediff('day', date_trunc('quarter',current_date), date_trunc('week',current_date) )\n * datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n ) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('quarter',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\ngroup by 1\norder by 1", | |
:params nil, | |
:type :invalid-query}}], | |
:state "57014", | |
:error_type :invalid-query, | |
:json_query | |
{:constraints {:max-results 10000, :max-results-bare-rows 2000}, | |
:type :native, | |
:middleware {:js-int-to-string? true, :ignore-cached-results? false}, | |
:native | |
{:query | |
"select \n dateadd('week',-2 , date_trunc('week',current_date)) as week\n , round(count(1) \n / datediff('day', date_trunc('quarter',current_date), dateadd('day', -7, date_trunc('week',current_date) ))\n * datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n ) as app_count\n\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('quarter',current_date)\nand SUBMITTED_OR_CREATED_AT < dateadd('day',-7, date_trunc('week',current_date))\n\nunion\n\n\nselect \n dateadd('week',-1 , date_trunc('week',current_date)) as week\n , round(count(1)\n / datediff('day', date_trunc('quarter',current_date), date_trunc('week',current_date) )\n * datediff('day', date_trunc('quarter',current_date), dateadd('quarter', 1, date_trunc('quarter',current_date)))\n ) as app_count\nfrom core.program_applications_helper\nwhere SUBMITTED_OR_CREATED_AT >= date_trunc('quarter',current_date)\nand SUBMITTED_OR_CREATED_AT < date_trunc('week',current_date)\ngroup by 1\norder by 1\n\n\n\n", | |
:template-tags {}}, | |
:database 13, | |
:parameters [], | |
:async? true, | |
:cache-ttl 534}, | |
:status :failed, | |
:class net.snowflake.client.jdbc.SnowflakeSQLException, | |
:stacktrace | |
["net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:313)" | |
"net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)" | |
"com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:75)" | |
"--> driver.sql_jdbc.execute$fn__53221.invokeStatic(execute.clj:368)" | |
"driver.sql_jdbc.execute$fn__53221.invoke(execute.clj:366)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invokeStatic(execute.clj:376)" | |
"driver.sql_jdbc.execute$execute_statement_or_prepared_statement_BANG_.invoke(execute.clj:373)" | |
"driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:502)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:card_id 6018, | |
:context :dashboard, | |
:error "JDBC driver: query has been canceled by user.", | |
:row_count 0, | |
:running_time 0, | |
:data {:rows [], :cols []}} | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:16-04:00 INFO metabase.query-processor.middleware.cache Query took 6.7 s to run; minimum for cache eligibility is 10.0 s | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:17-04:00 DEBUG metabase.server.middleware.log POST /api/dashboard/319/dashcard/5309/card/5466/query 202 [ASYNC: completed] 16.6 s (16 DB calls) App DB connections: 4/15 Jetty threads: 48/50 (0 idle, 14 queued) (277 total active threads) Queries in flight: 12 (0 queued); snowflake DB 13 connections: 15/15 (3 threads blocked) | |
[86af7258-fb4a-4c90-8470-07a0826f72a7] 2022-07-28T12:21:17-04:00 ERROR metabase.query-processor.middleware.catch-exceptions Error processing query: null | |
{:database_id 13, | |
:started_at #t "2022-07-28T16:20:48.578812Z[GMT]", | |
:via | |
[{:status :failed, | |
:class clojure.lang.ExceptionInfo, | |
:error "Error executing query: JDBC driver: query has been canceled by user.", | |
:stacktrace | |
["--> driver.sql_jdbc.execute$execute_reducible_query$fn__53301.invoke(execute.clj:504)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:501)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invokeStatic(execute.clj:496)" | |
"driver.sql_jdbc.execute$execute_reducible_query.invoke(execute.clj:487)" | |
"driver.sql_jdbc$fn__81999.invokeStatic(sql_jdbc.clj:54)" | |
"driver.sql_jdbc$fn__81999.invoke(sql_jdbc.clj:52)" | |
"query_processor.context$executef.invokeStatic(context.clj:59)" | |
"query_processor.context$executef.invoke(context.clj:48)" | |
"query_processor.context.default$default_runf.invokeStatic(default.clj:68)" | |
"query_processor.context.default$default_runf.invoke(default.clj:66)" | |
"query_processor.context$runf.invokeStatic(context.clj:45)" | |
"query_processor.context$runf.invoke(context.clj:39)" | |
"query_processor.reducible$pivot.invokeStatic(reducible.clj:34)" | |
"query_processor.reducible$pivot.invoke(reducible.clj:31)" | |
"query_processor.middleware.mbql_to_native$mbql__GT_native$fn__49655.invoke(mbql_to_native.clj:25)" | |
"query_processor.middleware.check_features$check_features$fn__50401.invoke(check_features.clj:42)" | |
"query_processor.middleware.limit$limit$fn__47991.invoke(limit.clj:37)" | |
"query_processor.middleware.cache$run_query_with_cache.invokeStatic(cache.clj:177)" | |
"query_processor.middleware.cache$run_query_with_cache.invoke(cache.clj:168)" | |
"query_processor.middleware.cache$maybe_return_cached_results$fn__50784.invoke(cache.clj:203)" | |
"query_processor.middleware.optimize_temporal_filters$optimize_temporal_filters$fn__51848.invoke(optimize_temporal_filters.clj:204)" | |
"query_processor.middleware.validate_temporal_bucketing$validate_temporal_bucketing$fn__51892.invoke(validate_temporal_bucketing.clj:50)" | |
"query_processor.middleware.auto_parse_filter_values$auto_parse_filter_values$fn__49712.invoke(auto_parse_filter_values.clj:43)" | |
"query_processor.middleware.wrap_value_literals$wrap_value_literals$fn__39780.invoke(wrap_value_literals.clj:161)" | |
"query_processor.middleware.annotate$add_column_info$fn__44546.invoke(annotate.clj:659)" | |
"query_processor.middleware.permissions$check_query_permissions$fn__46288.invoke(permissions.clj:108)" | |
"query_processor.middleware.pre_alias_aggregations$pre_alias_aggregations$fn__51006.invoke(pre_alias_aggregations.clj:40)" | |
"query_processor.middleware.cumulative_aggregations$handle_cumulative_aggregations$fn__46684.invoke(cumulative_aggregations.clj:60)" | |
"query_processor.middleware.visualization_settings$update_viz_settings$fn__46622.invoke(visualization_settings.clj:63)" | |
"query_processor.middleware.escape_join_aliases$escape_join_aliases_middleware$fn__48032.invoke(escape_join_aliases.clj:64)" | |
"query_processor.middleware.fix_bad_references$fix_bad_references_middleware$fn__50971.invoke(fix_bad_references.clj:91)" | |
"query_processor.middleware.resolve_joined_fields$resolve_joined_fields$fn__47569.invoke(resolve_joined_fields.clj:111)" | |
"query_processor.middleware.resolve_joins$resolve_joins$fn__51618.invoke(resolve_joins.clj:178)" | |
"query_processor.middleware.add_implicit_joins$add_implicit_joins$fn__51160.invoke(add_implicit_joins.clj:246)" | |
"query_processor.middleware.large_int_id$convert_id_to_string$fn__47588.invoke(large_int_id.clj:59)" | |
"query_processor.middleware.format_rows$format_rows$fn__51212.invoke(format_rows.clj:74)" | |
"query_processor.middleware.add_default_temporal_unit$add_default_temporal_unit$fn__46956.invoke(add_default_temporal_unit.clj:23)" | |
"query_processor.middleware.desugar$desugar$fn__46595.invoke(desugar.clj:21)" | |
"query_processor.middleware.binning$update_binning_strategy$fn__39509.invoke(binning.clj:229)" | |
"query_processor.middleware.resolve_fields$resolve_fields$fn__45930.invoke(resolve_fields.clj:34)" | |
"query_processor.middleware.add_dimension_projections$add_remapping$fn__50338.invoke(add_dimension_projections.clj:487)" | |
"query_processor.middleware.add_implicit_clauses$add_implicit_clauses$fn__50632.invoke(add_implicit_clauses.clj:164)" | |
"query_processor.middleware.upgrade_field_literals$upgrade_field_literals$fn__47976.invoke(upgrade_field_literals.clj:117)" | |
"query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__47333.invoke(add_source_metadata.clj:125)" | |
"query_processor.middleware.reconcile_breakout_and_order_by_bucketing$reconcile_breakout_and_order_by_bucketing$fn__50883.invoke(reconcile_breakout_and_order_by_bucketing.clj:100)" | |
"query_processor.middleware.auto_bucket_datetimes$auto_bucket_datetimes$fn__48970.invoke(auto_bucket_datetimes.clj:147)" | |
"query_processor.middleware.resolve_source_table$resolve_source_tables$fn__45911.invoke(resolve_source_table.clj:45)" | |
"query_processor.middleware.parameters$substitute_parameters$fn__48624.invoke(parameters.clj:109)" | |
"query_processor.middleware.resolve_referenced$resolve_referenced_card_resources$fn__45984.invoke(resolve_referenced.clj:79)" | |
"query_processor.middleware.expand_macros$expand_macros$fn__52276.invoke(expand_macros.clj:184)" | |
"query_processor.middleware.add_timezone_info$add_timezone_info$fn__48404.invoke(add_timezone_info.clj:15)" | |
"query_processor.middleware.splice_params_in_response$splice_params_in_response$fn__51227.invoke(splice_params_in_response.clj:32)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643$fn__50648.invoke(resolve_database_and_driver.clj:35)" | |
"driver$do_with_driver.invokeStatic(driver.clj:60)" | |
"driver$do_with_driver.invoke(driver.clj:56)" | |
"query_processor.middleware.resolve_database_and_driver$resolve_database_and_driver$fn__50643.invoke(resolve_database_and_driver.clj:34)" | |
"query_processor.middleware.fetch_source_query$resolve_card_id_source_tables$fn__46530.invoke(fetch_source_query.clj:286)" | |
"query_processor.middleware.store$initialize_store$fn__46721$fn__46722.invoke(store.clj:11)" | |
"query_processor.store$do_with_store.invokeStatic(store.clj:44)" | |
"query_processor.store$do_with_store.invoke(store.clj:38)" | |
"query_processor.middleware.store$initialize_store$fn__46721.invoke(store.clj:10)" | |
"query_processor.middleware.validate$validate_query$fn__50978.invoke(validate.clj:10)" | |
"query_processor.middleware.normalize_query$normalize$fn__50985.invoke(normalize_query.clj:22)" | |
"query_processor.middleware.add_rows_truncated$add_rows_truncated$fn__48350.invoke(add_rows_truncated.clj:35)" | |
"query_processor.middleware.results_metadata$record_and_return_metadata_BANG_$fn__49641.invoke(results_metadata.clj:82)" | |
"query_processor.middleware.constraints$add_default_userland_constraints$fn__48368.invoke(constraints.clj:42)" | |
"query_processor.middleware.process_userland_query$process_userland_query$fn__50919.invoke(process_userland_query.clj:146)" | |
"query_processor.middleware.catch_exceptions$catch_exceptions$fn__51307.invoke(catch_exceptions.clj:169)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$thunk__43283.invoke(reducible.clj:103)" | |
"query_processor.reducible$async_qp$qp_STAR___43282$fn__43285.invoke(reducible.clj:108)"], | |
:error_type :invalid-query, | |
:ex-data | |
{:sql | |
"-- Metabase:: userID: 191 queryType: native queryHash: 482ced6a1cfcf0f380e034ab057993c1db3a6094ffa355eeb1127574b1e42510\n/*select sum(change_in_number_of_seats_daily)\nFROM core.subscriptions_history_daily\nwhere growth_type = 'new'\nand day >= date_trunc('month',current_date)\nand day < date_trunc('week',current_date)*/\n\n/*\nse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment