| Actor | Fragment | Worker | State |
|---|---|---|---|
| 96035 | 8790 | 26 | running |
| 96036 | 8790 | 26 | 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')