RWM Console cluster: risingwave.platform.svc.cluster.local

← cluster authz objects team_to_tasks_mv
Overview Objects Graph History
materialized view · authz.team_to_tasks_mv Explain plan ▶
Parallelism
2
Actors
28 / 28
running
Distribution
HASH
Rows
0
State size
Created
2026-08-25 14:40
Initialized
2026-08-25 14:40
Fragment flags
MVIEWSNAPSHOT_BACKFILL_STREAM_SCANSTREAM_SCAN
Actors
ActorFragmentWorkerState
33566 12340 33 running
33567 12340 33 running
33568 12343 33 running
33569 12343 33 running
33580 12337 33 running
33581 12337 33 running
33582 12338 33 running
33583 12338 33 running
33584 12339 33 running
33585 12339 33 running
33608 12342 33 running
33609 12342 33 running
+ 16 more actor(s) (28 running)
sql · authz.team_to_tasks_mv — click to expand
CREATE MATERIALIZED VIEW authz.team_to_tasks_mv AS
SELECT
  team_id,
  task_id,
  updated_at
FROM (
  SELECT
    team_id,
    task_id,
    updated_at,
    ROW_NUMBER() OVER (PARTITION BY team_id, task_id ORDER BY updated_at DESC) AS rn
  FROM (
    SELECT
      ttc.team_id,
      t.task_id,
      t.updated_at
    FROM crm_service.tasks_dm AS t
    JOIN authz.team_to_clients_mv AS ttc
      ON ttc.client_id = t.resource_client_id
    WHERE
      t.disabled_at IS NULL
    UNION ALL
    SELECT
      tta.team_id,
      t.task_id,
      t.updated_at
    FROM crm_service.tasks_dm AS t
    JOIN authz.team_to_accounts_mv AS tta
      ON tta.account_id = t.resource_account_id
    WHERE
      t.disabled_at IS NULL
    UNION ALL
    SELECT
      ttp.team_id,
      t.task_id,
      t.updated_at
    FROM crm_service.tasks_dm AS t
    JOIN authz.team_to_portfolios_mv AS ttp
      ON ttp.portfolio_id = t.resource_portfolio_id
    WHERE
      t.disabled_at IS NULL
    UNION ALL
    SELECT
      ttp.team_id,
      t.task_id,
      t.updated_at
    FROM crm_service.tasks_dm AS t
    JOIN authz.team_to_parties_mv AS ttp
      ON ttp.party_id = t.resource_party_id
    WHERE
      t.disabled_at IS NULL
  )
)
WHERE
  rn = 1
Lineage · authz.team_to_tasks_mv 6 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.