Query editor
SELECTCAST(json_extract_scalar(item, '$.day') AS timestamp) AS day,CAST(json_extract_scalar(item, '$.cumulative_games_created') AS bigint) AS cumulative_games_created,CAST(json_extract_scalar(item, '$.cumulative_games_ended') AS bigint) AS cumulative_games_ended,CAST(json_extract_scalar(item, '$.cumulative_games_closed') AS bigint) AS cumulative_games_closed,CAST(json_extract_scalar(item, '$.cumulative_games_not_closed') AS bigint) AS cumulative_games_not_closed,CAST(json_extract_scalar(item, '$.cumulative_rematches_created') AS bigint) AS cumulative_rematches_created,CAST(json_extract_scalar(item, '$.cumulative_games_with_rematch') AS bigint) AS cumulative_games_with_rematch,CAST(json_extract_scalar(item, '$.cumulative_rematch_rate') AS double precision) AS cumulative_rematch_rate,CAST(json_extract_scalar(item, '$.cumulative_kills_count') AS bigint) AS cumulative_kills_count,CAST(json_extract_scalar(item, '$.cumulative_unique_users') AS bigint) AS cumulative_unique_usersFROM UNNEST(CAST(json_extract(json_parse(http_get('https://tanksfun-indexer-production.up.railway.app/dune/metrics/cumulative/all')),'$.rows') AS array(json))) AS t(item)ORDER BY day DESC;