[ https://issues.apache.org/jira/browse/CARBONDATA-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated CARBONDATA-2342: ------------------------------- Description: Here is related code: {code} for (RecordReader<Void, Object> reader : readers) { while (reader.nextKeyValue()) { rows.add((CarbonRow)reader.getCurrentValue()); {code} Each RecordReader should be closed before returning from {{scan}} was: Here is related code: {code} for (RecordReader<Void, Object> reader : readers) { while (reader.nextKeyValue()) { rows.add((CarbonRow)reader.getCurrentValue()); {code} Each RecordReader should be closed before returning from {{scan}} > Unclosed RecordReader in LocalCarbonStore#scan > ---------------------------------------------- > > Key: CARBONDATA-2342 > URL: https://issues.apache.org/jira/browse/CARBONDATA-2342 > Project: CarbonData > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > > Here is related code: > {code} > for (RecordReader<Void, Object> reader : readers) { > while (reader.nextKeyValue()) { > rows.add((CarbonRow)reader.getCurrentValue()); > {code} > Each RecordReader should be closed before returning from {{scan}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)