Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Oracle table export with varray data type

Hi Team,

 

We have requirement there we need to take varray table data into csv file.In that table one column is having object data type for varray.How to fetch data if varray column type and write into a file.

 

Please assist.

 

Regards,

Vivek

Labels (3)
5 Replies
fdenis
Master
Master

can you a sample of varray in csv.

you may get it by splitting field or using document data type
Anonymous
Not applicable
Author

In Toracleinput we have two property i.e. TYPE and DB TYPE for type we can select 'document' but what we need to select for DB TYPE,because there is no 'document' value in drop down.

fdenis
Master
Master

if you want to convert your array to xml you can use XMLTYPE but VARCHAR2 is good.
db type is not important. java type is.
Anonymous
Not applicable
Author

Got below error when selected document and varchar2 .

 

Execution failed : Job compile errors
At least job "Test3" has a compile errors, please fix and export again.
Error Line: 1801
Detail Message: The method getDocument(int) is undefined for the type ResultSet
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

fdenis
Master
Master

you can get your data using something like
SELECT w.*,e.*
from yourtavle w , TABLE (w.yourVarrayColumn) e
use it on your query or on a lockup with a tMap.
Regards,