Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-677

The SimpleCsvExamples didn't really parsed the double correctly with the FastLine and FastLineReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • 0.5
    • classic
    • None

    Description

      The FastLineReader in SimpleCsvExamples.java try to parse the line quickly through parse the bytes directly from the stream without the cost of copy Strings. But it didn't parse the line correctly and will get all double values as zero in fast parsing mode

      Attachments

        1. simplecsvexamplebugfix.diff
          1.0 kB
          Stanley Xu

        Activity

          People

            tdunning Ted Dunning
            xuwenhao Stanley Xu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified