Load data to ADW through DBMS_CLOUD
Content
Hi All,
I am trying to load data into ADW from oracle object store through DBMS_CLOUD but getting below error . so how to debug below error. I think error is occurs due to something wrong in - file_uri_list. Please suggest
Error report - ORA-20000: ORA-44003: invalid SQL name
ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 565
ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 1043
ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line
1064 ORA-06512: at line 2 20000. 00000 - "%s"
Thanks
Code Snippet
begin dbms_cloud.copy_data( table_name =>'adwc_user.CHANNELS', credential_name =>'OBJ_STORE_CRED', file_uri_list =>'https://objectstorage.us-ashburn-1.oraclecloud.com/n/indiafieldse/b/Load_adw/o/chan_v3.dat', format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true') ); end;
Tagged:
0