Print Thread
enhancement request: Test Window for pipelined function
#58868 11/08/18 10:39 AM
Joined: Aug 2003
Posts: 54
EE
M
marek Offline OP
Member
OP Offline
Member
M
Joined: Aug 2003
Posts: 54
EE
it would by nice if plsqldev could create Test Window for pipelined function, i.e. not
[quote]declare
-- Non-scalar parameters require additional processing
result ma.map_xutils3.line_tbl_type;
begin
-- Call the function
result := ma.map_xutils3.clob2lines(p_clob => :p_clob,
p_delim1 => :p_delim1,
p_delim2 => :p_delim2,
p_str => :p_str,
p_blob => :p_blob,
p_csid => :p_csid,
p_utf8 => :p_utf8);
end;[/quote]
but
[quote]select * from table (ma.map_xutils3.clob2lines(p_clob => :p_clob,
p_delim1 => :p_delim1,
p_delim2 => :p_delim2,
p_str => :p_str,
p_blob => :p_blob,
p_csid => :p_csid,
p_utf8 => :p_utf8))[/quote]


Regards,
Marek
Re: enhancement request: Test Window for pipelined function
marek #58878 11/09/18 09:54 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations
Re: enhancement request: Test Window for pipelined function
marek #62491 04/08/21 03:09 PM
Joined: Nov 2008
Posts: 14
F
Member
Offline
Member
F
Joined: Nov 2008
Posts: 14
Any progress on this (3y old) request?

Re: enhancement request: Test Window for pipelined function
marek #62492 04/09/21 04:14 AM
Joined: Jan 2006
Posts: 66
Lithuania
Member
Offline
Member
Joined: Jan 2006
Posts: 66
Lithuania
+1


Dalius
Re: enhancement request: Test Window for pipelined function
marek #62516 04/21/21 02:46 PM
Joined: Sep 2004
Posts: 495
Dartmouth College, Hanover, NH...
Member
Offline
Member
Joined: Sep 2004
Posts: 495
Dartmouth College, Hanover, NH...
+1


Stew

"That's not a bug, it's a feature?"
Re: enhancement request: Test Window for pipelined function
marek #62564 05/12/21 01:30 PM
Joined: May 2007
Posts: 102
Tiel, The Netherlands
M
Member
Offline
Member
M
Joined: May 2007
Posts: 102
Tiel, The Netherlands
Or you can use the cursor type variable of the test window.

So e.g., open :result_set for select * from table (ma.map_xutils3.clob2lines(p_clob => :p_clob,
p_delim1 => :p_delim1,
p_delim2 => :p_delim2,
p_str => :p_str,
p_blob => :p_blob,
p_csid => :p_csid,
p_utf8 => :p_utf8)):


Where :result_set is of "type" "cursor" in the test window. Then after running the script you van press the ellipsis (..) all the way to the right of the "value" column in the test window to see the results.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.033s Queries: 15 (0.010s) Memory: 2.5180 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-04 13:48:43 UTC
Valid HTML 5 and Valid CSS