lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3296) Explore alternatives to Commons CSV
Date Mon, 02 Apr 2012 19:39:21 GMT

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

Michael McCandless commented on SOLR-3296:
------------------------------------------

bq. wrt commons-csv alternatives, it's too risky for little/no gain. 

This confuses me: commons-csv is unreleased, while there are other
license-friendly packages (eg opencsv) that have been released for
some time (multiple releases), been tested in the field, had bugs
found & fixed, etc.

Why use an unreleased package when released alternatives are
available?

bq. I put a lot of effort into getting commons-csv up to snuff,

Wait: a lot of effort doing what?  Did you have to modify commons-csv
sources?  Or do you mean open issues w/ the commons devs to fix
things/add test cases to commons-csv sources (great!)...?

bq. Switching implementations would most likely result in a lot of regressions that we don't
have tests for.

I'd expect the reverse, ie, it's more likely there are bugs in
commons-csv (it's not released and thus not heavily tested) than eg
in opencsv.

And if somehow that's really the case (eg we have particular/unusual
CSV parsing requirements), we should have our own tests asserting so?

                
> Explore alternatives to Commons CSV
> -----------------------------------
>
>                 Key: SOLR-3296
>                 URL: https://issues.apache.org/jira/browse/SOLR-3296
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Chris Male
>
> In LUCENE-3930 we're implementing some less than ideal solutions to make available the
unreleased version of commons-csv.  We could remove these solutions if we didn't rely on this
lib.  So I think we should explore alternatives. 
> I think [opencsv|http://opencsv.sourceforge.net/] is an alternative to consider, I've
used it in many commercial projects.  Bizarrely Commons-CSV's website says that Opencsv uses
a BSD license, but this isn't the case, OpenCSV uses ASL2.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message