Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

apex_data_parser: csv empty string bug?

InoLFeb 12 2021

Apex 20.2 apex_data_parser seems to have a bug for parsing empty strings in a csv file. Steps to reproduce:

create table ttemp (content blob);

Now upload a simple file:
"1","","3"
"1",,"3"

select line_number, col001, col002, col003
 from ttemp t, 
    table( apex_data_parser.parse(
         p_content  => t.content,
         p_file_name => 't.csv' ) ) p

I would expect the same result for both lines, but the actual result is a single double quote in col002 for the first line:

1	1	"	3
2	1		3
Comments
Post Details
Added on Feb 12 2021
7 comments
379 views