Replies: 1 comment
-
Similar to This is different from the For this feature, I think also we should do For reference, the output of ⚫◗ summarize person;
┌─────────────┬─────────────┬─────────┬────────────────┬───────────────┬────────────────────┬────────────────────┬───────────────┬────────────────┬────────────────┬───────┬─────────────────┐
│ column_name │ column_type │ min │ max │ approx_unique │ avg │ std │ q25 │ q50 │ q75 │ count │ null_percentage │
│ varchar │ varchar │ varchar │ varchar │ int64 │ varchar │ varchar │ varchar │ varchar │ varchar │ int64 │ decimal(9,2) │
├─────────────┼─────────────┼─────────┼────────────────┼───────────────┼────────────────────┼────────────────────┼───────────────┼────────────────┼────────────────┼───────┼─────────────────┤
│ id │ BIGINT │ 14 │ 37383395355368 │ 11765 │ 18531368891241.254 │ 11363619254795.596 │ 8796093027141 │ 17723716063841 │ 28587302326733 │ 11000 │ 0.00 │
└─────────────┴─────────────┴─────────┴────────────────┴───────────────┴────────────────────┴────────────────────┴───────────────┴────────────────┴────────────────┴───────┴─────────────────┘ So stats are:
For our statistics, it would be more related to graph specific statistics
SELECT
average_degree: avg(count_),
min_degree: min(count_),
max_degree: max(count_)
FROM (
SELECT src, count(*) count_
FROM edge_table
GROUP BY src
);
with v_count as (select v: count(*) from person), e_count as (select e: count(*) from person_knows_person) select graph_density: e/(v*(v-1)) from v_count, e_count;
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Show statistics on the graph.
Beta Was this translation helpful? Give feedback.
All reactions