Skip to content

Commit

Permalink
[CARBONDATA-2119]deserialization issue for carbonloadmodel
Browse files Browse the repository at this point in the history
Problem:
Load model was not getting de-serialized in the executor due to which 2 different carbon table objects were being created.
Solution:
Reconstruct carbonTable from tableInfo if not already created.

This closes #1947
  • Loading branch information
akashrn5 authored and ravipesala committed Feb 8, 2018
1 parent a3b97f3 commit 2c5ecfb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public CarbonDataLoadSchema(CarbonTable carbonTable) {
*/
public CarbonTable getCarbonTable() {
if (!updatedDataTypes) {
CarbonTable.updateTableInfo(carbonTable.getTableInfo());
carbonTable = CarbonTable.buildFromTableInfo(carbonTable.getTableInfo());
updatedDataTypes = true;
}
return carbonTable;
Expand Down

0 comments on commit 2c5ecfb

Please sign in to comment.