ORA-52331
DISTRIBUTED INMEMORY NEIGHBOR GRAPH vector index cannot be used inside an open transaction.
Cause
DISTRIBUTED INMEMORY NEIGHBOR GRAPH vector index is used inside an open transaction.
Action
Commit or rollback the open transaction.