1
0

[MINOR] fix get builtin function issue from Hudi catalog (#4917)

This commit is contained in:
stayrascal
2022-03-02 11:16:19 +08:00
committed by GitHub
parent 3fdc9332e5
commit 3cfb52c413
5 changed files with 88 additions and 15 deletions

View File

@@ -376,7 +376,7 @@ public class HoodieCatalog extends AbstractCatalog {
@Override
public CatalogPartition getPartition(ObjectPath tablePath, CatalogPartitionSpec catalogPartitionSpec)
throws PartitionNotExistException, CatalogException {
return null;
throw new PartitionNotExistException(getName(), tablePath, catalogPartitionSpec);
}
@Override
@@ -409,7 +409,7 @@ public class HoodieCatalog extends AbstractCatalog {
@Override
public CatalogFunction getFunction(ObjectPath functionPath) throws FunctionNotExistException, CatalogException {
return null;
throw new FunctionNotExistException(getName(), functionPath);
}
@Override