RWM Console cluster: risingwave-adib.adib-rw.svc.cluster.local

← cluster insights objects party_to_account_groups_mv
Overview Objects Graph History
materialized view · insights.party_to_account_groups_mv Explain plan ▶
Parallelism
2
Actors
18 / 18
running
Distribution
HASH
Rows
597
State size
94.0 KiB
Created
2026-08-26 08:23
Initialized
2026-08-26 08:23
Fragment flags
MVIEWSNAPSHOT_BACKFILL_STREAM_SCANSTREAM_SCAN
Actors
ActorFragmentWorkerState
124658 25430 26 running
124659 25430 26 running
124660 25437 26 running
124661 25437 26 running
124662 25433 26 running
124663 25433 26 running
124664 25436 26 running
124665 25436 26 running
124666 25431 26 running
124667 25431 26 running
124668 25432 26 running
124669 25432 26 running
+ 6 more actor(s) (18 running)
sql · insights.party_to_account_groups_mv — click to expand
CREATE MATERIALIZED VIEW insights.party_to_account_groups_mv AS
WITH active_customer_parties AS (
  SELECT
    p.id AS party_id
  FROM party.parties AS p
  JOIN (
    SELECT
      party_id
    FROM party.customer_relationships AS customer_relationships_next
    WHERE
      type = 'CUSTOMER' AND status = 'ACTIVE' AND disabled_at IS NULL
    GROUP BY
      party_id
  ) AS cr
    ON cr.party_id = p.id
  WHERE
    p.disabled_at IS NULL
)
SELECT
  party_id,
  'account_group_' || MD5(CAST((
    party_id || 'none'
  ) AS BYTEA)) AS account_group_id,
  CAST('none' AS VARCHAR) AS type
FROM active_customer_parties
UNION ALL
SELECT
  acp.party_id,
  'account_group_' || MD5(CAST((
    acp.party_id || 'all'
  ) AS BYTEA)) AS account_group_id,
  CAST('all' AS VARCHAR) AS type
FROM active_customer_parties AS acp
JOIN insights.party_account_group_types_mv AS pagt
  ON pagt.party_id = acp.party_id AND pagt.type = 'all'
Lineage · insights.party_to_account_groups_mv 10 objects
Direct (1-hop) dependencies from rw_depend, across schemas. Click a neighbor to expand its dependencies; ⌘/Ctrl-click opens its page. Drag to pan, scroll to zoom. External source/sink endpoints (Kafka, Iceberg) are not shown.