Skip to content

Commit

Permalink
feat: remove hash function provider lifecycle method
Browse files Browse the repository at this point in the history
  • Loading branch information
dingxin-tech committed Jul 18, 2024
1 parent 145f090 commit 9084d60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,4 @@ public interface HashFunctionProvider extends Serializable {
* @return hash function based on the given table ID and schema
*/
HashFunction getHashFunction(TableId tableId, Schema schema);

// --------------------------------------------------------------------------------------------
// Default life cycle methods
// --------------------------------------------------------------------------------------------
default void open() {}

default void close() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public void open() throws Exception {
getContainingTask().getEnvironment().getOperatorCoordinatorEventGateway();
schemaEvolutionClient = new SchemaEvolutionClient(toCoordinator, schemaOperatorId);
cachedHashFunctions = createCache();
hashFunctionProvider.open();
}

@Override
Expand Down Expand Up @@ -142,10 +141,4 @@ public HashFunction load(TableId key) {
}
});
}

@Override
public void close() throws Exception {
super.close();
hashFunctionProvider.close();
}
}

0 comments on commit 9084d60

Please sign in to comment.