lakeformation__CreateFunction
Creates a Java function in a specified catalog database, defining its class, owner, type, and OBS resource URIs for data lake processing.
Instructions
[LAKEFORMATION] 创建函数
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"catalog_name": "<catalog_name>",
"class_name": "<class_name>",
"database_name": "<database_name>",
"function_name": "<function_name>",
"function_type": "<function_type>",
"instance_id": "<instance_id>",
"owner": "<owner>",
"owner_type": "<owner_type>",
"project_id": "<project_id>"
},
"name": "lakeformation__CreateFunction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | 函数所有者。只能包含字母、数字和下划线,且长度为1~256个字符。 | |
| class_name | Yes | 函数类名。长度为1~4000个字符。 | |
| owner_type | Yes | 所有者类型,USER-用户,GROUP-组,ROLE-角色 | |
| project_id | Yes | 项目id | |
| create_time | No | 创建时间格式为yyyy-mm-ddThh:mm:sss | |
| instance_id | Yes | 实例Id | |
| catalog_name | Yes | catalog名字 | |
| database_name | Yes | 数据库名字 | |
| function_name | Yes | 函数名称。只能包含字母、数字和下划线,且长度为1~256个字符。 | |
| function_type | Yes | 函数类型,JAVA | |
| resource_uris | No | 函数地址信息 | |
| owner_auth_source_type | No | 所有者授权来源类型,IAM-云,SAML-联邦,LDAP-ld用户,LOCAL-本地,AGENTTENANT-委托,OTHER-其它 |