Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Jan 31, 2023
1 parent 4e175b0 commit 9fb766c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,8 @@ public void initializeState(FunctionInitializationContext initializeContext) thr
getStateName(),
Types.MAP(
BasicTypeInfo.INT_TYPE_INFO,
Types.LIST(PrimitiveArrayTypeInfo.BYTE_PRIMITIVE_ARRAY_TYPE_INFO)
)
)
);
Types.LIST(PrimitiveArrayTypeInfo.BYTE_PRIMITIVE_ARRAY_TYPE_INFO))
));
if (initializeContext.isRestored()) {
// populate actual holder for restored state
sourceState.get().forEach(map -> restoredState.putAll(map));
Expand All @@ -166,4 +164,4 @@ public void initializeState(FunctionInitializationContext initializeContext) thr
}

protected abstract String getStateName();
}
}

0 comments on commit 9fb766c

Please sign in to comment.