DRG-10868: matches does not support functional invocation Cause: the query plan for your query is invoking a matches operator functionally rather than as an index rowsource. The matches operator does not support functional invocation Action: add optimizer hints so that all matches operators are performed through index scans