Skip to content

Commit

Permalink
[HOTFIX][CARBONDATA-2716][DataMap] fix bug for loading datamap
Browse files Browse the repository at this point in the history
In some scenarios, input parameter of getCarbonFactDataHandlerModel called carbonTable may be different from the one in loadmodel.

This close apache#2497
  • Loading branch information
kevinjmh authored and xuchuanyin committed Jul 13, 2018
1 parent 9d7a9a2 commit 84102a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public static CarbonFactDataHandlerModel getCarbonFactDataHandlerModel(CarbonLoa
new TableSpec(loadModel.getCarbonDataLoadSchema().getCarbonTable());
DataMapWriterListener listener = new DataMapWriterListener();
listener.registerAllWriter(
loadModel.getCarbonDataLoadSchema().getCarbonTable(),
carbonTable,
loadModel.getSegmentId(),
CarbonTablePath.getShardName(
CarbonTablePath.DataFileUtil.getTaskIdFromTaskNo(loadModel.getTaskNo()),
Expand Down

0 comments on commit 84102a2

Please sign in to comment.