[CR #571435] During subscription materialization, using quoted identifiers with a custom function string that includes a quoted constant, causes a query failure. The failure occurs because the replicate data server identifies the quoted constant as a column instead of a constant.
Workaround: Create the subscription without a quoted constant or create the subscription without materialization.