[ 
https://issues.apache.org/jira/browse/MAHOUT-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Franchuk updated MAHOUT-1287:
----------------------------------

    Attachment: CsvRecordFactory_CsvParseFix.patch

Patch to fix the problem, using the CSVUtils class from solr-commons-csv.jar
                
> 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).

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

Reply via email to