ORA-32583
Input CURSOR to table function must project PARTITION BY columns.
Cause
An attempt was made to pass a CURSOR argument to a pipelined table function whose projected columns did not include all the columns specified in the PARTITION BY, ORDER BY, or CLUSTER BY clauses of the pipelined table function.
Action
Ensure that the columns projected from the CURSOR argument of a pipelined table function includes the PARTITION BY, ORDER BY, and CLUSTER BY columns of the pipelined table function.
ORA-32583
query passed to table function has wrong number of elements in select list
Cause
The query used as an input to a table function which takes a a ref cursor as argument has wrong number of elements in the select list which does not correspond to the elements in ref cursor. The ref cursor mentioned here refers to the one referenced in order by parition clauses. This is not allowed.
Action
Make sure that the select list of the query matches the ref cursor columns as defined in the function.
ORA-32583
query passed to table function has wrong number of elements in select list
Cause
The query used as an input to a table function which takes a a ref cursor as argument has wrong number of elements in the select list which does not correspond to the elements in ref cursor. The ref cursor mentioned here refers to the one referenced in order by parition clauses. This is not allowed.
Action
Make sure that the select list of the query matches the ref cursor columns as defined in the function.