You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Ted Dunning (JIRA)" <ji...@apache.org> on 2013/07/19 08:12:49 UTC

[jira] [Commented] (MAHOUT-1287) classifier.sgd.CsvRecordFactory incorrectly parses CSV format

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

Ted Dunning commented on MAHOUT-1287:
-------------------------------------

Is that a new dependency?
                
> classifier.sgd.CsvRecordFactory incorrectly parses CSV format
> -------------------------------------------------------------
>
>                 Key: MAHOUT-1287
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1287
>             Project: Mahout
>          Issue Type: Bug
>          Components: Classification
>    Affects Versions: 0.7
>            Reporter: Alex Franchuk
>            Priority: Minor
>              Labels: csv, parser
>         Attachments: CsvRecordFactory_CsvParseFix.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> CsvRecordFactory uses very simplistic CSV parsing, and incorrectly parses CSV strings when there are double-quoted fields with commas present.
> This problem also affects the command-line demo programs which use CsvRecordFactory (mostly the sgd-related programs).
> Attached is a patch to fix the problem.

--
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: http://www.atlassian.com/software/jira