commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-64) CSVPrinter does not distinguish null and the empty string
Date Mon, 26 Mar 2012 17:48:28 GMT

    [ https://issues.apache.org/jira/browse/CSV-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238610#comment-13238610
] 

Emmanuel Bourg commented on CSV-64:
-----------------------------------

PostgreSQL can also use a special string for null values:

http://www.postgresql.org/docs/current/static/sql-copy.html

It supports two default text formats, a tab delimited format and a comma delimited format.
The tab delimited format uses \N for null values. The comma delimited format uses an empty
string.
                
> CSVPrinter does not distinguish null and the empty string
> ---------------------------------------------------------
>
>                 Key: CSV-64
>                 URL: https://issues.apache.org/jira/browse/CSV-64
>             Project: Commons CSV
>          Issue Type: Bug
>          Components: Printer
>            Reporter: Sebb
>             Fix For: 1.x
>
>
> CSVPrinter does not distinguish null and the empty string.
> There should be a way to denote that a string is null rather than empty.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message