Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2342

Unclosed RecordReader in LocalCarbonStore#scan

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Here is related code:

            for (RecordReader<Void, Object> reader : readers) {
              while (reader.nextKeyValue()) {
                rows.add((CarbonRow)reader.getCurrentValue());
      

      Each RecordReader should be closed before returning from scan

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: