{"base_path":null,"components":null,"consumes":"","definitions":{"ArrowField":{"description":"Arrow Schema中的字段定义,包含字段名、类型、是否可空及元数据。","properties":{"children":{"items":{"$ref":"#/definitions/ArrowField"},"type":"array"},"metadata":{"additionalProperties":{"maxLength":10000,"minLength":0,"type":"string"},"description":"字段的元数据信息。","type":"object"},"name":{"description":"字段名称。","maxLength":256,"minLength":1,"pattern":"^[a-zA-Z_0-9]+$","type":"string"},"nullable":{"default":true,"description":"字段是否允许为null。","type":"boolean"},"type":{"$ref":"#/definitions/ArrowType","description":"字段类型,支持Arrow的所有标准类型。"}},"required":["name","type"],"type":"object"},"ArrowType":{"description":"Arrow的类型定义,支持简单类型和复杂类型,遵循Apache Arrow类型系统标准。","properties":{"bit_width":{"description":"类型的位宽,适用于Int、Float等数值类型。如Int32的bit_width为32。","format":"int32","maximum":256,"minimum":1,"type":"integer"},"is_signed":{"description":"是否为有符号类型,适用于整数类型。","type":"boolean"},"list_size":{"description":"FixedSizeList类型的列表大小,表示固定大小列表中的元素数量。","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"name":{"description":"Arrow类型名称,如Int, Float, Utf8, Bool, Date, Timestamp, List, Struct等。","maxLength":256,"minLength":1,"type":"string"},"precision":{"description":"Decimal类型的精度。","format":"int32","maximum":76,"minimum":1,"type":"integer"},"scale":{"description":"Decimal类型的标度。","format":"int32","maximum":76,"minimum":0,"type":"integer"},"timezone":{"description":"时区信息,适用于Timestamp类型。","maxLength":100,"minLength":0,"type":"string"},"unit":{"description":"时间单位,适用于Date、Timestamp、Time类型。如SECOND、MILLISECOND、MICROSECOND、NANOSECOND。","maxLength":50,"minLength":0,"type":"string"}},"required":["name"],"type":"object"},"Column":{"description":"列信息","properties":{"column_name":{"description":"列名","example":"c1","maxLength":767,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\+*\\\\(), \\u4e00-\\u9fa5]+$","type":"string"},"column_type":{"description":"列类型,包括array bigint binary boolean char date decimal double float int interval map set smallint string struct timestamp tinyint union varchar","maxLength":65535,"minLength":1,"type":"string"},"comment":{"description":"列描述信息","maxLength":4000,"pattern":".*","type":"string"}},"required":["column_name","column_type"],"type":"object"},"CreateIcebergTableInput":{"properties":{"partition_spec":{"$ref":"#/definitions/IcebergPartitionSpec","description":"定义了Iceberg表的分区规格,决定了分区表数据在查询优化时的性能。"},"schema":{"$ref":"#/definitions/IcebergSchema","description":"定义了Iceberg表的schema结构,包含字段定义,数据类型和schema元数据。"},"write_order":{"$ref":"#/definitions/IcebergSortOrder","description":"排序顺序规格,决定了数据如何被重新排序以优化查询性能。"}},"required":["schema"],"type":"object"},"CreateLanceTableInput":{"description":"Lance表格式结构体","properties":{"schema":{"$ref":"#/definitions/LanceSchema","description":"Lance表的Schema定义,使用LanceSchema标准。"}},"type":"object"},"CreateOpenTableFormatInput":{"description":"开源湖表格式结构体","properties":{"create_iceberg_table_input":{"$ref":"#/definitions/CreateIcebergTableInput","description":"开源Iceberg表格式结构体"},"create_lance_table_input":{"$ref":"#/definitions/CreateLanceTableInput","description":"开源Lance表格式结构体"},"create_paimon_table_input":{"$ref":"#/definitions/CreatePaimonTableInput","description":"开源Paimon表格式结构体"}},"type":"object"},"CreatePaimonTableInput":{"description":"Paimon表格式结构体","properties":{"schema":{"$ref":"#/definitions/PaimonSchema","description":"Paimon表的Schema定义,使用PaimonSchema标准"}},"required":["schema"],"type":"object"},"CreateTableInput":{"description":"创建表输入模型","properties":{"comments":{"default":"","description":"表描述信息。由用户创建表时输入,最大长度为4000个字符。","maxLength":4000,"pattern":".*","type":"string"},"create_open_table_format_input":{"$ref":"#/definitions/CreateOpenTableFormatInput","description":"开源湖表格式创建结构体"},"create_time":{"description":"表创建时间","format":"date-time","type":"string"},"data_statistic_enable":{"default":true,"description":"数据概况统计开关。默认状态为开,修改table开关状态后,还需检查所属database的开关状态。例如:table与所属database开关同时打开,则数据概况统计开启。否则关闭","type":"boolean"},"ignore_obs_checked":{"default":false,"description":"是否忽略内表建表时对Obs路径的限制","type":"boolean"},"last_access_time":{"description":"最近一次访问时间","format":"date-time","type":"string"},"last_analyzed_time":{"description":"最近一次分析统计时间","format":"date-time","type":"string"},"owner":{"description":"表所有者。只能包含字母、数字和下划线,且长度为0~49个字符。可以为null。","example":"zhangsan","maxLength":49,"minLength":0,"nullable":true,"pattern":"^[a-zA-Z0-9_]*$","type":"string"},"owner_type":{"description":"所有者类型,USER-用户、GROUP-组、ROLE-角色","enum":["USER","GROUP","ROLE"],"type":"string"},"parameters":{"additionalProperties":{"maxLength":4000,"minLength":0,"type":"string"},"description":"表参数信息,每个键是一个键字符串,不少于 1 个字节或超过 255 个字节\n每个值是一个 UTF-8 字符串,不超过 4000 个字节","type":"object"},"partition_keys":{"description":"分区列的信息","items":{"$ref":"#/definitions/Column"},"maxItems":100,"minItems":0,"type":"array"},"retention":{"default":0,"description":"表保留时间","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"storage_descriptor":{"$ref":"#/definitions/StorageDescriptor","description":"数据存储"},"table_format":{"description":"表格式,支持HIVE、ICEBERG、LANCE、PAIMON","enum":["HIVE","ICEBERG","LANCE","PAIMON"],"type":"string"},"table_name":{"description":"表名称。只能包含中文、字母、数字和下划线,且长度为1~256个字符。","example":"t1","maxLength":256,"minLength":1,"pattern":"^[a-zA-Z0-9一-龥_]*$","type":"string"},"table_type":{"description":"表类型,MANAGED_TABLE-内表、EXTERNAL_TABLE-外表、VIRTUAL_VIEW-视图、MATERIALIZED_VIEW-物化视图、DICTIONARY_TABLE-字典表、LAKE_TABLE-内表","enum":["MANAGED_TABLE","EXTERNAL_TABLE","VIRTUAL_VIEW","MATERIALIZED_VIEW","DICTIONARY_TABLE","LAKE_TABLE"],"type":"string"},"view_expanded_text":{"default":"","description":"如果表是视图,则为视图的扩展文本;否则为 null","maxLength":409600,"minLength":0,"type":"string"},"view_original_text":{"default":"","description":"如果表是视图,则为视图的原始文本;否则为 null","maxLength":409600,"minLength":0,"type":"string"}},"required":["table_name","table_type","owner_type","storage_descriptor"],"title":"CreateTableInput","type":"object"},"Error":{"description":"失败403时返回的错误对象。","properties":{"code":{"description":"状态码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_code":{"description":"错误码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","example":"failed","maxLength":4096,"minLength":0,"type":"string"},"message":{"description":"错误信息。","example":"X-Auth-Token is invalid in the request","maxLength":4096,"minLength":0,"type":"string"},"title":{"description":"标题。","example":"Forbidden","maxLength":36,"minLength":0,"type":"string"}},"type":"object"},"ErrorForbiddenMessage":{"description":"失败403时返回的错误对象。","properties":{"error":{"$ref":"#/definitions/Error","description":"错误信息。"},"error_code":{"description":"错误码。","example":"403","maxLength":36,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","example":"X-Auth-Token is invalid in the request","maxLength":4096,"minLength":2,"type":"string"},"title":{"description":"标题。","example":"Forbidden","maxLength":1024,"minLength":0,"type":"string"}},"required":["error","error_code","error_msg","title"],"type":"object"},"ErrorMessage":{"description":"失败时返回的错误对象","properties":{"common_error_code":{"description":"CBC公共错误码","example":"CMM.1008","maxLength":36,"minLength":1,"type":"string"},"error_code":{"description":"错误码","example":"lakeformation.00010003","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"failed","maxLength":4096,"minLength":2,"type":"string"},"solution_msg":{"description":"解决方案描述","example":"Please use correct instance id.","maxLength":4096,"minLength":2,"type":"string"}},"required":["error_code","error_msg"],"type":"object"},"IcebergPartitionField":{"description":"分区规范字段,用于定义如何从源字段生成分区字段。","properties":{"field_id":{"description":"分区字段的id。","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"name":{"description":"分区字段名称。","maxLength":1024,"minLength":1,"type":"string"},"source_id":{"description":"源字段的id。","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"transform":{"description":"转换函数。","maxLength":255,"minLength":1,"type":"string"}},"required":["source_id","field_id","transform","name"],"type":"object"},"IcebergPartitionSpec":{"description":"定义了Iceberg表的分区规格,决定了分区表数据在查询优化时的性能。","properties":{"fields":{"description":"IcebergPartitionField的列表。","items":{"$ref":"#/definitions/IcebergPartitionField"},"maxItems":10000,"minItems":0,"type":"array"},"spec_id":{"description":"分区规范id。","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"}},"required":["spec_id","fields"],"type":"object"},"IcebergSchema":{"description":"定义了Iceberg表的schema结构,包含字段定义,数据类型和schema元数据。","properties":{"fields":{"description":"IcebergStructField的列表。","items":{"$ref":"#/definitions/IcebergStructField"},"maxItems":10000,"minItems":0,"type":"array"},"identifier_field_ids":{"description":"字段identifier的列表,可以识别表中的记录,用作行级操作以及去重。","items":{"format":"int32","type":"integer"},"maxItems":10000,"minItems":0,"type":"array"},"last_column_id":{"default":1,"description":"为该表分配的最高列ID。","format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"primary_keys":{"description":"用来指定哪些field是主键,列表内填写field_id。","items":{"format":"int32","type":"integer"},"maxItems":255,"minItems":0,"type":"array"},"schema_id":{"description":"用来记录Iceberg表模式演化历史中模式版本的id。","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"type":{"description":"固定为struct。","maxLength":255,"minLength":1,"type":"string"}},"required":["schema_id","identifier_field_ids","type","fields"],"type":"object"},"IcebergSortField":{"description":"排序顺序字段,用于定义排序规则。","properties":{"direction":{"description":"排序方向。","enum":["ASC","DESC"],"type":"string"},"null_order":{"description":"null值的排序。","enum":["NULLS_FIRST","NULLS_LAST"],"type":"string"},"source_id":{"description":"源字段的id。","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"transform":{"description":"转换函数。","maxLength":255,"minLength":1,"type":"string"}},"required":["source_id","transform","direction","null_order"],"type":"object"},"IcebergSortOrder":{"description":"排序顺序规格,决定了数据如何被重新排序以优化查询性能","properties":{"fields":{"description":"IcebergSortField的数组","items":{"$ref":"#/definitions/IcebergSortField"},"maxItems":10000,"minItems":0,"type":"array"},"order_id":{"description":"排序规范的id","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"}},"required":["order_id","fields"],"type":"object"},"IcebergStructField":{"properties":{"doc":{"description":"comment","maxLength":10000,"minLength":0,"type":"string"},"id":{"description":"字段id。","format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"name":{"description":"字段名称。","maxLength":1024,"minLength":1,"type":"string"},"required":{"description":"表示这个字段是必须的还是可选的","type":"boolean"},"type":{"description":"字段类型, 包含 BOOLEAN, INTEGER, LONG, FLOAT, DOUBLE, DATE, TIME, TIMESTAMP, TIMESTAMP_NANO, STRING, UUID, FIXED, BINARY, DECIMAL, STRUCT, LIST, MAP","maxLength":255,"minLength":1,"type":"string"},"type_json":{"description":"如果type字段输入了STRUCT, LIST, MAP以外的类型,此处应该为空。如果type类型输入了STRUCT, LIST, MAP,此处应该为嵌套类型json体的字符串。","maxLength":100000,"minLength":0,"type":"string"},"write_default":{"description":"字段写入默认值, 在每次写入操作时生效,覆盖显式写入的null值。","maxLength":10000,"minLength":0,"type":"string"}},"required":["id","name","type","required"],"type":"object"},"LanceSchema":{"description":"定义了Arrow Schema的结构,遵循Apache Arrow标准,包含字段定义和元数据信息。","properties":{"fields":{"description":"Arrow字段列表,定义表的所有列及其类型信息。","items":{"$ref":"#/definitions/ArrowField"},"maxItems":10000,"minItems":0,"type":"array"},"metadata":{"additionalProperties":{"maxLength":10000,"minLength":0,"type":"string"},"description":"Schema的元数据信息,key-value形式的附加信息。","type":"object"}},"required":["fields"],"type":"object"},"Order":{"description":"排列顺序","properties":{"column":{"description":"列的名称","maxLength":256,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\+*\\\\(), \\u4e00-\\u9fa5]+$","type":"string"},"sort_order":{"description":"指示是按升序 (== 1) 还是降序 (==0) 对列进行排序","format":"int32","maximum":1,"minimum":0,"type":"integer"}},"title":"Order","type":"object"},"PaimonField":{"description":"Paimon Schema中的字段定义,包含字段名、类型、是否可空及元数据。","properties":{"children":{"description":"子字段","items":{"$ref":"#/definitions/PaimonField"},"type":"array"},"description":{"description":"字段描述","maxLength":4000,"minLength":0,"type":"string"},"name":{"description":"字段名称","maxLength":256,"minLength":1,"pattern":"^[a-zA-Z_0-9]+$","type":"string"},"nullable":{"default":true,"description":"字段是否允许为null","type":"boolean"},"type":{"$ref":"#/definitions/PaimonType","description":"字段类型,支持Paimon的所有标准类型"}},"required":["name","type"],"type":"object"},"PaimonSchema":{"description":"PaimonSchema模型。","properties":{"fields":{"description":"字段列表,定义表的所有列及其类型。","items":{"$ref":"#/definitions/PaimonField"},"maxItems":10000,"minItems":0,"type":"array"},"options":{"additionalProperties":{"type":"string"},"description":"Paimon表属性","type":"object"},"partition_keys":{"description":"分区建集合","items":{"type":"string"},"maxItems":10000,"minItems":0,"type":"array"},"primary_keys":{"description":"主键集合","items":{"type":"string"},"maxItems":10000,"minItems":0,"type":"array"}},"required":["fields"],"type":"object"},"PaimonType":{"description":"Paimon的类型定义,支持简单类型和复杂类型,遵循Paimon 类型系统标准。","properties":{"length":{"description":"CHAR(n)、VARCHAR(n)、BINARY(n)、VARBINARY(n)的长度(n)","format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"name":{"description":"Paimon类型名称","maxLength":256,"minLength":1,"type":"string"},"precision":{"description":"精度,适用于 DECIMAL(p,s) 的 p(1-38),以及 TIME(p)/TIMESTAMP(p)/TIMESTAMP_LTZ(p) 的小数秒精度 p(0-9)。","format":"int32","maximum":38,"minimum":0,"type":"integer"},"scale":{"description":"标度,适用于 DECIMAL(p,s) 的 s(0-precision)。","format":"int32","maximum":128,"minimum":0,"type":"integer"}},"required":["name"],"type":"object"},"SerDeInfo":{"description":"序列化/反序列化的信息","properties":{"name":{"description":"名字信息","maxLength":256,"type":"string"},"parameters":{"additionalProperties":{"maxLength":4000,"type":"string"},"description":"参数数组。\nkey最小值1,最大值255\nvalue最大值4000","type":"object"},"serialization_library":{"description":"实现序列化/反序列化的类","maxLength":256,"minLength":1,"type":"string"}},"title":"SerDeInfo"},"SkewedInfo":{"properties":{"skewed_column_names":{"description":"数据偏移列的列表","items":{"maxLength":256,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\+*\\\\(), \\u4e00-\\u9fa5]+$","type":"string"},"type":"array"},"skewed_column_value_location_maps":{"additionalProperties":{"type":"string"},"description":"偏斜值和地址的映射关系.","type":"object"},"skewed_column_values":{"description":"偏斜值的列表.","items":{"items":{"type":"string"},"maxItems":255,"type":"array"},"type":"array"}},"required":["skewed_column_names","skewed_column_value_location_maps","skewed_column_values"],"title":"SkewedInfo"},"StorageDescriptor":{"properties":{"bucket_columns":{"description":"分桶字段","items":{"maxLength":255,"minLength":1,"type":"string"},"maxItems":200,"minItems":0,"type":"array"},"columns":{"description":"分区列以外的所有字段","items":{"$ref":"#/definitions/Column"},"maxItems":10000,"type":"array"},"compressed":{"default":false,"description":"是否启用数据压缩","type":"boolean","x-annotations":["@UsNoConstraint(reason = \"Boolean类型无需校验\")"],"x-imports":["com.huawei.us.validator.annotation.UsNoConstraint;"]},"input_format":{"description":"输入格式","maxLength":128,"type":"string"},"location":{"description":"存储路径","maxLength":4000,"pattern":"^(obs|har)://.+/.+$","type":"string"},"number_of_buckets":{"default":0,"description":"分桶的桶数量","format":"int32","type":"integer"},"output_format":{"description":"输出格式","maxLength":128,"type":"string"},"parameters":{"additionalProperties":{"maxLength":4000,"type":"string"},"description":"存储描述符的参数。\nkey最小长度为1,最大长度为255.\nvalue最大长度为4000","type":"object"},"serde_info":{"$ref":"#/definitions/SerDeInfo","description":"序列化/反序列化信息"},"skewed_info":{"$ref":"#/definitions/SkewedInfo","description":"有关在列中经常出现的值(偏斜值)的信息"},"sort_columns":{"description":"指定表中的每个存储桶的排序顺序的列表","items":{"$ref":"#/definitions/Order"},"type":"array"},"stored_as_sub_directories":{"default":false,"description":"数据是否会存放在子目录中","type":"boolean","x-annotations":["@UsNoConstraint(reason = \"Boolean类型无需校验\")"],"x-imports":["com.huawei.us.validator.annotation.UsNoConstraint;"]}},"required":["columns","compressed","parameters","serde_info"],"title":"StorageDescriptor","type":"object"},"Table":{"description":"table","properties":{"catalog_name":{"description":"catalog名字","example":"catalog1","maxLength":256,"minLength":1,"pattern":"[a-zA-Z0-9_]+","type":"string"},"comments":{"description":"表描述信息","maxLength":2048,"pattern":".*","type":"string"},"create_time":{"description":"表创建时间","format":"date-time","type":"string"},"database_name":{"description":"数据库名字","example":"db1","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_]*$","type":"string"},"last_access_time":{"description":"最后访问时间","format":"date-time","type":"string"},"last_analyzed_time":{"description":"上一次做列级别的统计信息计算的时间","format":"date-time","type":"string"},"owner":{"description":"用户信息","maxLength":256,"minLength":1,"pattern":"[a-zA-Z0-9_]+","type":"string"},"owner_type":{"description":"用户类型","enum":["USER","GROUP","ROLE"],"type":"string"},"parameters":{"additionalProperties":{"maxLength":409600,"type":"string"},"description":"参数","type":"object"},"partition_keys":{"description":"表分区列的列表","items":{"$ref":"#/definitions/Column"},"maxItems":100,"type":"array"},"retention":{"description":"表保留时间","format":"int32","type":"integer"},"storage_descriptor":{"$ref":"#/definitions/StorageDescriptor","description":"表的存储描述符"},"table_format":{"description":"表格式,支持HIVE,ICEBERG,LANCE,PAIMON","enum":["HIVE","ICEBERG","LANCE","PAIMON"],"type":"string"},"table_name":{"description":"表名字","example":"tbl1","maxLength":256,"minLength":1,"pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_]*$","type":"string"},"table_type":{"description":"表类型","enum":["MANAGED_TABLE","EXTERNAL_TABLE","VIRTUAL_VIEW","MATERIALIZED_VIEW"],"type":"string"},"update_time":{"description":"表元数据最后一次修改时间","format":"date-time","type":"string"},"view_expanded_text":{"description":"如果表是视图,则为视图的扩展文本;否则为 null","maxLength":409600,"type":"string"},"view_original_text":{"description":"如果表是视图,则为视图的原始文本;否则为 null","maxLength":409600,"type":"string"}},"required":["catalog_name","create_time","database_name","last_access_time","owner","owner_type","parameters","partition_keys","retention","storage_descriptor","table_name","table_type","view_expanded_text","view_original_text"],"title":"Table","type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"59ccb8af05754fa5a5437c29a1818571","info_version":"v1","method":"post","name":"CreateTable","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/{database_name}/tables":{"post":{"consumes":["application/json"],"deprecated":false,"description":"创建表操作。","operationId":"CreateTable","parameters":[{"description":"租户token。","in":"header","items":{"type":"string"},"maxItems":100,"minItems":1,"name":"X-Auth-Token","required":true,"type":"array"},{"description":"项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。","in":"path","maxLength":64,"minLength":1,"name":"project_id","pattern":"^[a-z0-9]+$","required":true,"type":"string"},{"description":"LakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。","in":"path","name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$|default","required":true,"type":"string"},{"description":"catalog名称。只能包含字母、数字和下划线,且长度为1~256个字符。","in":"path","maxLength":256,"minLength":1,"name":"catalog_name","pattern":"[a-zA-Z0-9_]+","required":true,"type":"string"},{"description":"数据库名称。只能包含中文、字母、数字、下划线、中划线,且长度为1~128个字符。","in":"path","maxLength":128,"minLength":1,"name":"database_name","pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_-]*$","required":true,"type":"string"},{"description":"表信息。","in":"body","name":"CreateTableRequestBody","required":true,"schema":{"$ref":"#/definitions/CreateTableInput"}}],"produces":["application/json;charset=UTF-8"],"responses":{"201":{"description":"Created","examples":{"application/json":{"catalog_name":"catcd6359b2a15f42dc90fca897c15db00a","comments":"comment info","create_time":"2023-05-31T02:03:44.016+00:00","database_name":"dbbf565489e3d04b2d8ca03d6e3d48486f","last_access_time":"2023-05-31T02:03:43.000+00:00","last_analyzed_time":"2023-05-31T02:03:43.000+00:00","owner":"onebox","owner_type":"USER","parameters":{"classification":"other","key1":"value1","transient_lastDdlTime":"120"},"partition_keys":[{"column_name":"column_prefix0","column_type":"string","comment":"8be09e713e6b46a08b375b662f93e195"},{"column_name":"column_prefix1","column_type":"string","comment":"6874d3047a6c494696438fc64d9a0194"}],"retention":1000,"storage_descriptor":{"bucket_columns":[],"columns":[{"column_name":"column_prefix0","column_type":"string","comment":"5a2968f6141c4d40969c935c39b5accc"},{"column_name":"column_prefix1","column_type":"string","comment":"39ac0d5c26ce47d8948a5ea49a455742"},{"column_name":"column_prefix2","column_type":"string","comment":"a8d51537564a4042ab3d88a0acfccf83"},{"column_name":"column_prefix3","column_type":"string","comment":"d541dd8c95bf4d49853ae5563869821e"},{"column_name":"column_prefix4","column_type":"string","comment":"9955f7831b3b4bdc8a18c2e20b592976"},{"column_name":"column_prefix5","column_type":"string","comment":"32115b31e61245fd94162f566c6db966"},{"column_name":"column_prefix6","column_type":"string","comment":"a6d61e1ad9e14a6da94e242607369284"},{"column_name":"column_prefix7","column_type":"string","comment":"9dd785a2f6744fa2a8c5a64d78147961"},{"column_name":"column_prefix8","column_type":"string","comment":"60128f0062a949559f0c95f2656812ae"},{"column_name":"column_prefix9","column_type":"string","comment":"99d4d3e57af64bd1bb287b5a305b7225"}],"compressed":false,"input_format":"c28e802613a342568a667aeba4961979","location":"obs://location/test/database/0b288717b41a411dacdd0c9fa2e1c275","number_of_buckets":0,"output_format":"9bf425a38fd540c69b68366071b8bbd5","parameters":{"64f073b0a9bd49cb8437681f3faa1538":"f4154f400e6e465cbc8b8b2033a24faf","f31bf1375d4d4097b68e9816388e50a8":"881546d1b0184048b03ad20d1218104d"},"serde_info":{"name":"e044a1458d8c4b7a871e54243d2adb93","parameters":{"2980009b8dfd4b3bb78a96485a3728c2":"f83395c8db5e4ac1803892b08c209799"},"serialization_library":"bb299f2201fe4da0886ecd380a1508a3"},"skewed_info":{"skewed_column_names":[],"skewed_column_value_location_maps":{},"skewed_column_values":[]},"sort_columns":[],"stored_as_sub_directories":false},"table_format":"HIVE","table_name":"tbl1298911dffa94c449a900ec5dfc50cf8","table_type":"EXTERNAL_TABLE","update_time":"2023-05-31T02:03:44.016+00:00"}},"schema":{"$ref":"#/definitions/Table"}},"400":{"description":"Bad Request","examples":{"application/json":{"error_code":"common.01000001","error_msg":"failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"401":{"description":"Unauthorized","examples":{"application/json":"{\n \"error_code\": \"APIG.1002\",\n \"error_msg\": \"Incorrect token or token resolution failed\"\n}"},"schema":{"$ref":"#/definitions/ErrorMessage"}},"403":{"description":"Forbidden","examples":{"application/json":{"error":{"code":"403","error_code":null,"error_msg":null,"message":"X-Auth-Token is invalid in the request","title":"Forbidden"},"error_code":"403","error_msg":"X-Auth-Token is invalid in the request","title":"Forbidden"}},"schema":{"$ref":"#/definitions/ErrorForbiddenMessage"}},"404":{"description":"Not Found","examples":{"application/json":{"error_code":"common.01000001","error_msg":"response status exception, code: 404"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"408":{"description":"Request Timeout","examples":{"application/json":{"error_code":"common.00000408","error_msg":"timeout exception occurred"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"500":{"description":"Internal Server Error","examples":{"application/json":{"error_code":"common.00000500","error_msg":"internal error"}},"schema":{"$ref":"#/definitions/ErrorMessage"}}},"summary":"创建表","tags":["Table"],"x-apiexplorer-hide":"N","x-apigw-publish":"Y","x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:table:create","authLevel":"instance"},"x-imports":["com.huawei.lakeformation.common.annotation.ApiCount;"],"x-is-registered":"Y","x-method-annotations":["@ApiCount","@CtsMeta(resourceType = \"Table\", traceName = \"createTable\", traceNameCn = \"创建表\", operationId = \"CreateTable\", isAsyncApi=false)"],"x-order":4,"x-request-examples-1":{"comments":"comment info","create_time":"2023-05-31T01:59:54.000+00:00","last_access_time":"2023-05-31T01:59:54.000+00:00","last_analyzed_time":"2023-05-31T01:59:54.000+00:00","owner":"onebox","owner_type":"USER","parameters":{"classification":"other","key1":"value1","transient_lastDdlTime":"120"},"partition_keys":[{"column_name":"column_prefix0","column_type":"string","comment":"5456ac36c75947eab223476dafa58ae0"},{"column_name":"column_prefix1","column_type":"string","comment":"d95d1241557e4a769bfcda42974fdf0e"}],"retention":1000,"storage_descriptor":{"bucket_columns":[],"columns":[{"column_name":"column_prefix0","column_type":"string","comment":"3eb10da96ec84ec6b8543b730c0660b2"},{"column_name":"column_prefix1","column_type":"string","comment":"ee5aa1f3755f425a964f045f59b2c0a0"},{"column_name":"column_prefix2","column_type":"string","comment":"d47884f69582432db1256e60a8e37ea6"},{"column_name":"column_prefix3","column_type":"string","comment":"4e26e910310648f1a97b6e17cb2b25ce"},{"column_name":"column_prefix4","column_type":"string","comment":"85084620943b4d36a9e5d6a856307e73"},{"column_name":"column_prefix5","column_type":"string","comment":"f78264b5d8ab4409a3a05ebb0434424e"},{"column_name":"column_prefix6","column_type":"string","comment":"45df8ef109374ac6ab9aaa371b29baa7"},{"column_name":"column_prefix7","column_type":"string","comment":"c006d18cc411429bacc0f0e1eb75f99e"},{"column_name":"column_prefix8","column_type":"string","comment":"58e1c81b2c0a4c089570106c8bb4461d"},{"column_name":"column_prefix9","column_type":"string","comment":"32cc797a16f348ebbf5f2e1f85969603"}],"compressed":false,"input_format":"850fd4c238934dfdaa3006f388d71f9d","location":"obs://location/test/database/5e2941387d8741afa217677361d0676f","number_of_buckets":0,"output_format":"740f42961f1146d39abe19beadc2ad89","parameters":{"8805af26461e49feaf5fb67eef8da574":"f956a8ac29514f57af9da84043b845f0","ce43c3c8b9854b749dddabe76c487dd8":"67393e5c0dc649479399603f6adf1432"},"serde_info":{"name":"a247cc09ce74477e8c95915bb45e9878","parameters":{"347f5f03fdaf46489a39e308be3d2160":"317b872caa5d4de7bed96f644028ed83"},"serialization_library":"9dad2d1dfe944e1d83747997188ed445"},"skewed_info":{"skewed_column_names":[],"skewed_column_value_location_maps":{},"skewed_column_values":[]},"sort_columns":[],"stored_as_sub_directories":false},"table_format":"HIVE","table_name":"tbl86b03ad314fa4ea7943fb769df163a79","table_type":"MANAGED_TABLE"},"x-request-examples-text-1":{"comments":"comment info","create_time":"2023-05-31T01:59:54.000+00:00","last_access_time":"2023-05-31T01:59:54.000+00:00","last_analyzed_time":"2023-05-31T01:59:54.000+00:00","owner":"onebox","owner_type":"USER","parameters":{"classification":"other","key1":"value1","transient_lastDdlTime":"120"},"partition_keys":[{"column_name":"column_prefix0","column_type":"string","comment":"5456ac36c75947eab223476dafa58ae0"},{"column_name":"column_prefix1","column_type":"string","comment":"d95d1241557e4a769bfcda42974fdf0e"}],"retention":1000,"storage_descriptor":{"bucket_columns":[],"columns":[{"column_name":"column_prefix0","column_type":"string","comment":"3eb10da96ec84ec6b8543b730c0660b2"},{"column_name":"column_prefix1","column_type":"string","comment":"ee5aa1f3755f425a964f045f59b2c0a0"},{"column_name":"column_prefix2","column_type":"string","comment":"d47884f69582432db1256e60a8e37ea6"},{"column_name":"column_prefix3","column_type":"string","comment":"4e26e910310648f1a97b6e17cb2b25ce"},{"column_name":"column_prefix4","column_type":"string","comment":"85084620943b4d36a9e5d6a856307e73"},{"column_name":"column_prefix5","column_type":"string","comment":"f78264b5d8ab4409a3a05ebb0434424e"},{"column_name":"column_prefix6","column_type":"string","comment":"45df8ef109374ac6ab9aaa371b29baa7"},{"column_name":"column_prefix7","column_type":"string","comment":"c006d18cc411429bacc0f0e1eb75f99e"},{"column_name":"column_prefix8","column_type":"string","comment":"58e1c81b2c0a4c089570106c8bb4461d"},{"column_name":"column_prefix9","column_type":"string","comment":"32cc797a16f348ebbf5f2e1f85969603"}],"compressed":false,"input_format":"850fd4c238934dfdaa3006f388d71f9d","location":"obs://location/test/database/5e2941387d8741afa217677361d0676f","number_of_buckets":0,"output_format":"740f42961f1146d39abe19beadc2ad89","parameters":{"8805af26461e49feaf5fb67eef8da574":"f956a8ac29514f57af9da84043b845f0","ce43c3c8b9854b749dddabe76c487dd8":"67393e5c0dc649479399603f6adf1432"},"serde_info":{"name":"a247cc09ce74477e8c95915bb45e9878","parameters":{"347f5f03fdaf46489a39e308be3d2160":"317b872caa5d4de7bed96f644028ed83"},"serialization_library":"9dad2d1dfe944e1d83747997188ed445"},"skewed_info":{"skewed_column_names":[],"skewed_column_value_location_maps":{},"skewed_column_values":[]},"sort_columns":[],"stored_as_sub_directories":false},"table_format":"HIVE","table_name":"tbl86b03ad314fa4ea7943fb769df163a79","table_type":"MANAGED_TABLE"},"x-request-examples-url-1":"POST https://{endpoint} /v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/{database_name}/tables","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"创建表","tags":"数据表管理","uri":null,"version":"2.0"}