oracle 11g版本 换成12C版本以后自定义function失效了

问题遇到的现象和发生背景

img

11c版本执行结果

img

12C 在打开函数的时候

img

问题相关代码,请勿粘贴截图
CREATE OR REPLACE function split(p_string varchar2, p_sep varchar2 := ',')

return type_split

pipelined is

idx pls_integer;

v_string varchar2(3000) := p_string;

begin

loop

idx := instr(v_string, p_sep);

if idx > 0 then

pipe row(substr(v_string, 1, idx - 1));

v_string := substr(v_string, idx + length(p_sep));

else

pipe row(v_string);

exit;

end if;

end loop;

end split;

我想要达到的结果

求好心朋友们 给看下

去你11g的库里,把这个type "type_split"的代码复制到12c里创建一下