Not sure if this is a bug but it does not seem right to me.
I have an embedded dashboard with 1 chart (query).
The query is a long one and can take up to 3 minutes to run
When I request the dash board the query is created every 30 seconds until 6 versions are running.
The dash board displays when the first query completes in about 3 minutes. The other 5 queries each complete in turn after runing about 3 minutes.
I’ve verified only 1 xhr request is sent to the server from the browser.
http://xxxxxxxxxxxxxxxxxxx.com:3000/api/embed/dashboard/eyJhbGciOiJIUzI1NiIsInR5…/dashcard/163/card/146
Name Status Type Initiator Size Time
146 200 xhr VM1529:1 3.4 KB 3.1 min
Tested in Firefox 66.0.1 and Chrome 73.0.3683.86 Metabase 0.32.0-snapshot PG backend 10.6
Note that this happens even when displaying the dashboard inside Metabase.
Anyone seen something like this ?
Notice the hashes are identical:
23641 00:00:37.421377 "-- Metabase:: userID: 1 queryType: native queryHash: 80aa26fe57d9c39f39906a95e78efaa3a1e0db0de2f80b4ab852ef74abcbcb1f
–active customer used over 300 wh in last 30 days (Avg 10 wh / day)
select case when g.operational_date >…
26226 00:01:07.434552 "-- Metabase:: userID: 1 queryType: native queryHash: 80aa26fe57d9c39f39906a95e78efaa3a1e0db0de2f80b4ab852ef74abcbcb1f
–active customer used over 300 wh in last 30 days (Avg 10 wh / day)
select case when g.operational_date>…
23116 00:01:37.450687 "-- Metabase:: userID: 1 queryType: native queryHash: 80aa26fe57d9c39f39906a95e78efaa3a1e0db0de2f80b4ab852ef74abcbcb1f
–active customer used over 300 wh in last 30 days (Avg 10 wh / day)
select case when g.operational_date>…
23112 00:02:07.464164 "-- Metabase:: userID: 1 queryType: native queryHash: 80aa26fe57d9c39f39906a95e78efaa3a1e0db0de2f80b4ab852ef74abcbcb1f
–active customer used over 300 wh in last 30 days (Avg 10 wh / day)
select case when g.operational_date >…
23642 00:02:37.481506 "-- Metabase:: userID: 1 queryType: native queryHash: 80aa26fe57d9c39f39906a95e78efaa3a1e0db0de2f80b4ab852ef74abcbcb1f
–active customer used over 300 wh in last 30 days (Avg 10 wh / day)
select case when g.operational_date>…
23644 00:03:07.487371 "-- Metabase:: userID: 1 queryType: native queryHash: 80aa26fe57d9c39f39906a95e78efaa3a1e0db0de2f80b4ab852ef74abcbcb1f
–active customer used over 300 wh in last 30 days (Avg 10 wh / day)
select case when g.operational_date>…