zhangstar333 commented on code in PR #65400:
URL: https://github.com/apache/doris/pull/65400#discussion_r3549556030


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowFunctionsCommand.java:
##########
@@ -287,7 +287,7 @@ private String buildProperties(Function function) {
             properties.put(locationKey, function.getLocation().toString());
         }
         properties.put("NULLABLE_MODE", function.getNullableMode().name());
-        if (function.isStaticLoad()) {
+        if (function.getBinaryType() == Function.BinaryType.JAVA_UDF) {
             properties.put("STATIC_LOAD", 
String.valueOf(function.isStaticLoad()));

Review Comment:
   those static-load feature is only used in java-udf
   and want's it could display when it's true or false.
   



-- 
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]

Reply via email to