deniskuzZ commented on code in PR #6148:
URL: https://github.com/apache/hive/pull/6148#discussion_r2472971873
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -11076,18 +10732,18 @@ public <T> List<T> getFunctionsRequest(String
catName, String dbName, String pat
query.setResult("functionName");
}
query.setOrdering("functionName ascending");
-
+ List<T> result;
if (!isReturnNames) {
- List<MFunction> functionList = (List<MFunction>)
query.executeWithArray(parameterVals.toArray(new String[0]));
+ List<MFunction> functionList =
+ (List<MFunction>) query.executeWithArray(parameterVals.toArray(new
String[0]));
pm.retrieveAll(functionList);
- commited = commitTransaction();
- return (List<T>)convertToFunctions(functionList);
+ result = (List<T>)convertToFunctions(functionList);
Review Comment:
nit: space
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]