incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Eckert (JIRA)" <>
Subject [jira] [Comment Edited] (ANY23-116) Empty values are skipped when reading tab separated CSV.
Date Thu, 30 Aug 2012 12:49:07 GMT


Kai Eckert edited comment on ANY23-116 at 8/30/12 11:47 PM:

I attached a test file (test-missing.csv). I currently can't provide the code for the test
case. The current expected (wrong) behavious is that in the second record, ""
is assigned to "last name". Correct would be null or empty string for "last name" and ""
for "".
      was (Author: kaiec):
    This file should demonstrate the problem.
> Empty values are skipped when reading tab separated CSV.
> --------------------------------------------------------
>                 Key: ANY23-116
>                 URL:
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.7.0
>         Environment: Linux
>            Reporter: Kai Eckert
>              Labels: CSV
>         Attachments: any23-fix-csv.diff, test-missing.csv
> I have a tab separated CSV file without text delimiters, like this:
> val1\tval2\tval3
> When values are missing, this looks like this:
> val1\t\tval3
> The missing val2 is skipped and instead, val3 ist added to the RDF as value for property2.
> EDIT: The same is true for a comma separated file with string delimiters, like
> "val1",,"val3"

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message