public class AlterFunctionProcedure extends ProcedureBase
-- NOTE: use '' as placeholder for optional arguments
CALL sys.alter_function('function_identifier', '{"action" : "addDefinition", "name" : "flink", "definition" : {"type" : "file", "fileResources" : [{"resourceType": "JAR", "uri": "oss://mybucket/xxxx.jar"}], "language": "JAVA", "className": "xxxx", "functionName": "functionName" } }')
catalog
Constructor and Description |
---|
AlterFunctionProcedure() |
Modifier and Type | Method and Description |
---|---|
String[] |
call(org.apache.flink.table.procedure.ProcedureContext procedureContext,
String function,
String change) |
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
execute, execute, execute, notnull, nullable, optionalConfigMap, table, withCatalog
public String[] call(org.apache.flink.table.procedure.ProcedureContext procedureContext, String function, String change) throws Catalog.FunctionNotExistException, Catalog.DefinitionAlreadyExistException, Catalog.DefinitionNotExistException
public String identifier()
Factory
For consistency, an identifier should be declared as one lower case word (e.g. kafka
). If multiple factories exist for different versions, a version should be appended
using "-" (e.g. elasticsearch-7
).
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.