Skip to content

Commit

Permalink
[hotfix][hive] adapt HiveFunctionDefinitionFactory.createFunctionDefi…
Browse files Browse the repository at this point in the history
…nition to latest APPI
  • Loading branch information
bowenli86 committed Dec 8, 2019
1 parent 5bc914e commit 1858ce2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public HiveFunctionDefinitionFactory(HiveShim hiveShim) {
@Override
public FunctionDefinition createFunctionDefinition(String name, CatalogFunction catalogFunction) {
if (catalogFunction.isGeneric()) {
return FunctionDefinitionUtil.createFunctionDefinition(name, catalogFunction);
return FunctionDefinitionUtil.createFunctionDefinition(name, catalogFunction.getClassName());
}

return createFunctionDefinitionFromHiveFunction(name, catalogFunction.getClassName());
Expand Down

0 comments on commit 1858ce2

Please sign in to comment.