Observation: Scalar Function in WHERE Clause

You coded a scalar function in a predicate. If the scalar function references a column, the predicate is non-indexable. If possible, remove the scalar function and perform the process in the host language, or remove the column reference.