PLS-00633
RETURN statement in a pipelined function cannot contain an expression
Action
Remove the expression from the RETURN statement and use a PIPE statement to return values. Else, convert the function into a non-pipelined function.