| Actor | Fragment | Worker | State |
|---|---|---|---|
| 742998 | 37295 | 51 | running |
| 742999 | 37295 | 51 | running |
CREATE MATERIALIZED VIEW search.olap_reference_identifier_terms_mv AS
SELECT
ri.entity_id AS owner_entity_id,
ri.entity_type AS owner_entity_type,
u.val,
u.val AS ar_val
FROM olap.reference_identifiers AS ri
CROSS JOIN UNNEST(ARRAY[ri.value, REPLACE(ri.value, '-', '')]) AS u(val)
WHERE
ri.entity_type IN ('account', 'client', 'portfolio')