Skip to content

Commit

Permalink
[flink-tidb-connector] fix the exception caused by calling the `getFu…
Browse files Browse the repository at this point in the history
…nction` method of TIDBCatalog (#63)
  • Loading branch information
itinycheng authored Apr 2, 2021
1 parent 30033ad commit 9c06f70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public List<String> listFunctions(String dbName)
@Override
public CatalogFunction getFunction(ObjectPath functionPath)
throws FunctionNotExistException, CatalogException {
throw new UnsupportedOperationException();
throw new FunctionNotExistException(getName(), functionPath);
}

@Override
Expand Down

0 comments on commit 9c06f70

Please sign in to comment.