This is an automated email from the ASF dual-hosted git repository. rong pushed a commit to branch IOTDB-3228 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit b551f76ea1538be90b29760ed2232d2710221c0c Author: Steve Yurong Su <[email protected]> AuthorDate: Mon May 30 10:17:11 2022 +0800 .thrift --- thrift-confignode/src/main/thrift/confignode.thrift | 8 +++++++- thrift/src/main/thrift/mpp.thrift | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/thrift-confignode/src/main/thrift/confignode.thrift b/thrift-confignode/src/main/thrift/confignode.thrift index ac3f749041..3bba5e3bc5 100644 --- a/thrift-confignode/src/main/thrift/confignode.thrift +++ b/thrift-confignode/src/main/thrift/confignode.thrift @@ -215,6 +215,10 @@ struct TCreateFunctionReq { 3: required list<string> uris } +struct TDropFunctionReq { + 1: required string udfName +} + service ConfigIService { /* DataNode */ @@ -278,4 +282,6 @@ service ConfigIService { /* UDF */ common.TSStatus createFunction(TCreateFunctionReq req) -} \ No newline at end of file + + common.TSStatus dropFunction(TDropFunctionReq req) +} diff --git a/thrift/src/main/thrift/mpp.thrift b/thrift/src/main/thrift/mpp.thrift index eaecf45dc7..702050e540 100644 --- a/thrift/src/main/thrift/mpp.thrift +++ b/thrift/src/main/thrift/mpp.thrift @@ -141,6 +141,10 @@ struct TCreateFunctionRequest { 3: required list<string> uris } +struct TDropFunctionRequest { + 1: required string udfName +} + struct TInvalidatePermissionCacheReq { 1: required string username 2: required string roleName @@ -229,6 +233,13 @@ service InternalService { **/ common.TSStatus createFunction(TCreateFunctionRequest req) + /** + * Config node will drop a function on a list of data nodes. + * + * @param function name + **/ + common.TSStatus dropFunction(TDropFunctionRequest req) + /** * Config node will invalidate permission Info cache. *
