Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1675#discussion_r157992425
--- Diff:
processing/src/main/java/org/apache/carbondata/processing/merger/RowResultMergerProcessor.java
---
@@ -150,7 +157,12 @@ public boolean execute(List<RawResultIterator>
resultIteratorList) {
if (isDataPresent) {
this.dataHandler.closeHandler();
}
- } catch (CarbonDataWriterException e) {
+ if (partitionNames != null) {
+ new PartitionFileStore().writePartitionMapFile(
+ CarbonTablePath.getSegmentPath(loadModel.getTablePath(),
loadModel.getSegmentId()),
+ loadModel.getTaskNo(), partitionNames);
+ }
+ } catch (CarbonDataWriterException | IOException e) {
LOGGER.error("Exception while closing the handler in compaction
merger " + e.getMessage());
--- End diff --
ok, updated
---