https://slingdata.io logo
Hello, is there any issue transferring
# sling-help
p
Hello, is there any issue transferring data from Oracle to BigQuery if one of the column is xml type? running replication with debug result, as you can see on the time, the process "hang" for like an hour https://cdn.discordapp.com/attachments/1210406123744796705/1460573559930884181/oracle_xml.log?ex=697934e0&is=6977e360&hm=0683757e4ef58a309a4c81ba5b32b4bb6e37f04a55697225c205bc12c902ebee&
f
Hey @paradiso this seems to be a 3rd party driver issue. The work-around to cast as CLOB using custom SQL (with
(XML_COL).getclobval()
). In the next release this will be done automatically.
p
f
select RECID, (XMLRECORD).getClobVal() as XMLRECORD from table_name
? i think you need to put the correct table name in the query.
p
i just change the real table name to table_name in the log, the actual replication are run with the real table_name
f
ah ok, and if you run the query yourself in your db client,
select * from ( select RECID, (XMLRECORD).getClobVal() as XMLRECORD from table_name ) where rownum <= 0
it works?
f
can you fully qualify? put schema/owner name too
p
in the custom sql the replication yaml?
it works!!! thank you so much