We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa689c commit 987c599Copy full SHA for 987c599
store/postgres/src/detail.rs
@@ -470,13 +470,13 @@ fn deployment_sizes(
470
r#"
471
SELECT
472
ds.id,
473
- ss.row_estimate::bigint,
474
- ss.table_bytes::bigint,
475
- ss.index_bytes::bigint,
476
- ss.toast_bytes::bigint,
477
- ss.total_bytes::bigint
+ COALESCE(ss.row_estimate, 0)::bigint,
+ COALESCE(ss.table_bytes, 0)::bigint,
+ COALESCE(ss.index_bytes, 0)::bigint,
+ COALESCE(ss.toast_bytes, 0)::bigint,
+ COALESCE(ss.total_bytes, 0)::bigint
478
FROM deployment_schemas ds
479
- JOIN info.subgraph_sizes as ss on ss.name = ds.name
+ LEFT JOIN info.subgraph_sizes as ss on ss.name = ds.name
480
"#,
481
);
482
0 commit comments