Yeni bir veri gölü kullanıcı tanımlı işlevi oluşturur.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:CreateDataLakeFunction |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CatalogName |
string |
Yes |
Veri kataloğu adı. |
hive |
| DbName |
string |
Yes |
Veritabanı adı. |
default |
| FunctionInput | DLFunctionInput |
Yes |
İşlev ayrıntıları. |
|
| DataRegion |
string |
Yes |
Veri gölünün bulunduğu bölge. |
cn-hangzhou |
| Tid |
integer |
No |
Kiracı kimliği. Not
Kiracı kimliğini, sistemin sağ üst köşesindeki profil resminizin üzerine geldiğinizde görüntülenen araç ipucundan alın. Daha fazla bilgi için Kiracı Bilgilerini Görüntüleme konusuna bakın. |
3**** |
| WorkspaceId |
integer |
No |
Çalışma alanı kimliği. |
12**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İstek kimliği. Günlükleri bulmak ve sorunları gidermek için bu kimliği kullanın. |
EE214ECD-4330-503A-82F0-FFB039757DC8 |
| ErrorCode |
string |
Hata kodu. |
UnknownError |
| ErrorMessage |
string |
Çağrı başarısız olduğunda döndürülen hata mesajı. |
UnknownError |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Dönüş değerleri aşağıdaki gibidir:
|
true |
| Function | DLFunction |
İşlev ayrıntıları. |
Examples
Success response
JSON format
{
"RequestId": "EE214ECD-4330-503A-82F0-FFB039757DC8",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Function": {
"FunctionName": "my_funciton",
"OwnerName": "zhangsan",
"OwnerType": "USER",
"CreatorId": 0,
"FunctionType": "JAVA",
"CreateTime": 1731586286,
"ResourceUris": [
{
"ResourceType": "JAR",
"Uri": "hdfs://name****.example.com:8020/user/hive/udfs/my_***.jar"
}
],
"ClassName": "com.example.hive.MyCustomUDF",
"CatalogName": "hive",
"DbName": "default",
"ModifierId": 0
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.