Skip to content

Commit

Permalink
data loading is failed from S3 to hdfs table having ~2K carbonfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
BJangir committed Aug 1, 2019
1 parent 765712a commit ce914bd
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -217,12 +217,12 @@ void updateDataBlockIterator() {
}

private DataBlockIterator getDataBlockIterator() {
try {
fileReader.finish();
} catch (IOException e) {
throw new RuntimeException(e);
}
if (blockExecutionInfos.size() > 0) {
try {
fileReader.finish();
} catch (IOException e) {
throw new RuntimeException(e);
}
BlockExecutionInfo executionInfo = blockExecutionInfos.get(0);
blockExecutionInfos.remove(executionInfo);
return new DataBlockIterator(executionInfo, fileReader, batchSize, queryStatisticsModel,
Expand Down

0 comments on commit ce914bd

Please sign in to comment.