diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/datalake/2020-07-10 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/datalake/2020-07-10')
| -rw-r--r-- | data/datalake/2020-07-10/api-docs.php | 6727 |
1 files changed, 1847 insertions, 4880 deletions
diff --git a/data/datalake/2020-07-10/api-docs.php b/data/datalake/2020-07-10/api-docs.php index 7b8fca1..249a146 100644 --- a/data/datalake/2020-07-10/api-docs.php +++ b/data/datalake/2020-07-10/api-docs.php @@ -1,140 +1,59 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'DataLake', - 'version' => '2020-07-10', - ], + 'info' => ['style' => 'ROA', 'product' => 'DataLake', 'version' => '2020-07-10'], 'components' => [ 'schemas' => [ + 'Accesses' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], 'AccessRequest' => [ 'type' => 'object', 'properties' => [ - 'PrivilegeResources' => [ - '$ref' => '#/components/schemas/PrivilegeResources', - ], - 'Principal' => [ - '$ref' => '#/components/schemas/Principal', - ], - 'CatalogId' => [ - 'type' => 'string', - ], - ], - ], - 'Accesses' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'PrivilegeResources' => ['$ref' => '#/components/schemas/PrivilegeResources'], + 'Principal' => ['$ref' => '#/components/schemas/Principal'], + 'CatalogId' => ['type' => 'string'], ], ], 'BatchGrantRevokeFailureResult' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GrantRevokeFailureEntry', - ], + 'items' => ['$ref' => '#/components/schemas/GrantRevokeFailureEntry'], ], 'Catalog' => [ 'type' => 'object', 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'LocationUri' => [ - 'type' => 'string', - ], - 'Owner' => [ - 'type' => 'string', - ], - 'CreatedBy' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Status' => [ - 'type' => 'string', - ], - 'CatalogType' => [ - 'type' => 'string', - ], - 'DefaultCatalog' => [ - 'type' => 'boolean', - ], - 'ThriftEnabled' => [ - 'type' => 'boolean', - ], - 'JdbcEnabled' => [ - 'type' => 'boolean', - ], - 'StorageAccessConfig' => [ - 'type' => 'string', - ], - ], - ], - 'CatalogConnection' => [ - 'type' => 'object', - 'properties' => [ - 'VpcConnectionId' => [ - 'type' => 'string', - ], - 'ThriftUri' => [ - 'type' => 'string', - ], - 'JdbcUri' => [ - 'type' => 'string', - ], - 'JdbcUserName' => [ - 'type' => 'string', - ], - 'JdbcPassword' => [ - 'type' => 'string', - ], + 'CatalogId' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'LocationUri' => ['type' => 'string'], + 'Owner' => ['type' => 'string'], + 'CreatedBy' => ['type' => 'string'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int64'], + 'Status' => ['type' => 'string'], + 'CatalogType' => ['type' => 'string'], + 'DefaultCatalog' => ['type' => 'boolean'], + 'ThriftEnabled' => ['type' => 'boolean'], + 'JdbcEnabled' => ['type' => 'boolean'], + 'StorageAccessConfig' => ['type' => 'string'], ], ], 'CatalogInput' => [ 'type' => 'object', 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Description' => [ - 'type' => 'string', - ], - 'LocationUri' => [ - 'type' => 'string', - ], - 'Owner' => [ - 'type' => 'string', - ], - 'CatalogType' => [ - 'type' => 'string', - ], - 'ThriftEnabled' => [ - 'type' => 'boolean', - ], - 'JdbcEnabled' => [ - 'type' => 'boolean', - ], - 'StorageAccessConfig' => [ - 'type' => 'string', - ], + 'CatalogId' => ['type' => 'string', 'required' => true], + 'Description' => ['type' => 'string'], + 'LocationUri' => ['type' => 'string'], + 'Owner' => ['type' => 'string'], + 'CatalogType' => ['type' => 'string'], + 'ThriftEnabled' => ['type' => 'boolean'], + 'JdbcEnabled' => ['type' => 'boolean'], + 'StorageAccessConfig' => ['type' => 'string'], ], ], 'CatalogResource' => [ 'type' => 'object', 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - ], + 'CatalogId' => ['type' => 'string'], ], ], 'CatalogSettings' => [ @@ -142,186 +61,50 @@ 'properties' => [ 'Config' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - 'CatalogVpcConnection' => [ - 'type' => 'object', - 'properties' => [ - 'GmtModified' => [ - 'type' => 'string', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'RegionId' => [ - 'type' => 'string', - ], - 'Owner' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Creator' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Modifier' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'VpcConnectionId' => [ - 'type' => 'string', - ], - 'CatalogId' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'ConnectionName' => [ - 'type' => 'string', - ], - 'Zones' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'VSwitchId' => [ - 'type' => 'string', - ], - 'ZoneId' => [ - 'type' => 'string', - ], - 'IP' => [ - 'type' => 'string', - ], - ], - ], - ], - 'SecurityGroupIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'ThriftUri' => [ - 'type' => 'string', - ], - 'JdbcUri' => [ - 'type' => 'string', - ], - 'ConnectionStatus' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - ], - ], - 'CatalogVpcConnectionInput' => [ - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'type' => 'string', - ], - 'ConnectionName' => [ - 'type' => 'string', - ], - 'Zones' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'VSwitchId' => [ - 'type' => 'string', - ], - 'ZoneId' => [ - 'type' => 'string', - ], - 'IP' => [ - 'type' => 'string', - ], - ], - ], - ], - 'SecurityGroupIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], 'ColumnResource' => [ 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], + 'DatabaseName' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], 'ColumnNames' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'ColumnStatistics' => [ 'type' => 'object', 'properties' => [ - 'ColumnStatisticsDesc' => [ - '$ref' => '#/components/schemas/ColumnStatisticsDesc', - ], + 'ColumnStatisticsDesc' => ['$ref' => '#/components/schemas/ColumnStatisticsDesc'], 'ColumnStatisticsObjList' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ColumnStatisticsObj', - ], - ], - 'Engine' => [ - 'type' => 'string', - ], - 'IsStatsCompliant' => [ - 'type' => 'boolean', + 'items' => ['$ref' => '#/components/schemas/ColumnStatisticsObj'], ], + 'Engine' => ['type' => 'string'], + 'IsStatsCompliant' => ['type' => 'boolean'], ], ], 'ColumnStatisticsDesc' => [ 'type' => 'object', 'properties' => [ - 'LastAnalyzedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'PartitionName' => [ - 'type' => 'string', - ], + 'LastAnalyzedTime' => ['type' => 'integer', 'format' => 'int64'], + 'PartitionName' => ['type' => 'string'], ], ], 'ColumnStatisticsObj' => [ 'type' => 'object', 'properties' => [ - 'ColumnName' => [ - 'type' => 'string', - ], - 'ColumnType' => [ - 'type' => 'string', - ], + 'ColumnName' => ['type' => 'string'], + 'ColumnType' => ['type' => 'string'], 'ColumnStatisticsData' => [ 'type' => 'object', 'properties' => [ - 'StatisticsData' => [ - 'type' => 'string', - ], - 'StatisticsType' => [ - 'type' => 'string', - ], + 'StatisticsData' => ['type' => 'string'], + 'StatisticsType' => ['type' => 'string'], ], ], ], @@ -329,823 +112,387 @@ 'Database' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Description' => [ - 'type' => 'string', - ], - 'LocationUri' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'OwnerName' => [ - 'type' => 'string', - ], - 'OwnerType' => [ - 'type' => 'string', - ], - 'Parameters' => [ - '$ref' => '#/components/schemas/Parameters', - ], - 'Privileges' => [ - '$ref' => '#/components/schemas/PrincipalPrivilegeSet', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CreatedBy' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'Description' => ['type' => 'string'], + 'LocationUri' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'OwnerName' => ['type' => 'string'], + 'OwnerType' => ['type' => 'string'], + 'Parameters' => ['$ref' => '#/components/schemas/Parameters'], + 'Privileges' => ['$ref' => '#/components/schemas/PrincipalPrivilegeSet'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int32'], + 'CreatedBy' => ['type' => 'string'], ], ], 'DatabaseInput' => [ 'type' => 'object', 'properties' => [ - 'Description' => [ - 'type' => 'string', - ], - 'LocationUri' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'OwnerName' => [ - 'type' => 'string', - ], - 'OwnerType' => [ - 'type' => 'string', - ], - 'Parameters' => [ - '$ref' => '#/components/schemas/Parameters', - ], - 'Privileges' => [ - '$ref' => '#/components/schemas/PrincipalPrivilegeSet', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Description' => ['type' => 'string'], + 'LocationUri' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'OwnerName' => ['type' => 'string'], + 'OwnerType' => ['type' => 'string'], + 'Parameters' => ['$ref' => '#/components/schemas/Parameters'], + 'Privileges' => ['$ref' => '#/components/schemas/PrincipalPrivilegeSet'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], ], ], 'DatabaseProfile' => [ 'type' => 'object', 'properties' => [ - 'FileCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Name' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], - 'ObjectSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LatestDate' => [ - 'type' => 'string', - ], + 'FileCnt' => ['type' => 'integer', 'format' => 'int64'], + 'FileSize' => ['type' => 'integer', 'format' => 'int64'], + 'Name' => ['type' => 'string'], + 'CreateTime' => ['type' => 'string'], + 'Location' => ['type' => 'string'], + 'ObjectSize' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectCnt' => ['type' => 'integer', 'format' => 'int64'], + 'LatestDate' => ['type' => 'string'], ], ], 'DatabaseResource' => [ 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'type' => 'string', - ], - 'DatabaseWildcard' => [ - 'type' => 'string', - ], + 'DatabaseName' => ['type' => 'string'], + 'DatabaseWildcard' => ['type' => 'string'], ], ], 'DbStorageRank' => [ 'type' => 'object', 'properties' => [ - 'Quantity' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DbName' => [ - 'type' => 'string', - ], + 'Quantity' => ['type' => 'integer', 'format' => 'int64'], + 'DbName' => ['type' => 'string'], ], ], 'ErrorDetail' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], ], ], 'FieldSchema' => [ 'type' => 'object', 'properties' => [ - 'Comment' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Parameters' => [ - '$ref' => '#/components/schemas/Parameters', - ], - 'Type' => [ - 'type' => 'string', - ], + 'Comment' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Parameters' => ['$ref' => '#/components/schemas/Parameters'], + 'Type' => ['type' => 'string'], ], ], 'FileCnt' => [ 'type' => 'object', 'properties' => [ - 'Small' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Large' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Tiny' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Middle' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Small' => ['type' => 'integer', 'format' => 'int64'], + 'Large' => ['type' => 'integer', 'format' => 'int64'], + 'Tiny' => ['type' => 'integer', 'format' => 'int64'], + 'Middle' => ['type' => 'integer', 'format' => 'int64'], ], ], 'Function' => [ 'type' => 'object', 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - ], - 'ClassName' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'FunctionName' => [ - 'type' => 'string', - ], - 'FunctionType' => [ - 'type' => 'string', - ], - 'OwnerName' => [ - 'type' => 'string', - ], - 'OwnerType' => [ - 'type' => 'string', - ], + 'CatalogId' => ['type' => 'string'], + 'ClassName' => ['type' => 'string'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'DatabaseName' => ['type' => 'string'], + 'FunctionName' => ['type' => 'string'], + 'FunctionType' => ['type' => 'string'], + 'OwnerName' => ['type' => 'string'], + 'OwnerType' => ['type' => 'string'], 'ResourceUri' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ResourceUri', - ], - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CreatedBy' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/ResourceUri'], ], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int32'], + 'CreatedBy' => ['type' => 'string'], ], ], 'FunctionInput' => [ 'type' => 'object', 'properties' => [ - 'ClassName' => [ - 'type' => 'string', - ], - 'FunctionName' => [ - 'type' => 'string', - ], - 'FunctionType' => [ - 'type' => 'string', - ], - 'OwnerName' => [ - 'type' => 'string', - ], - 'OwnerType' => [ - 'type' => 'string', - ], + 'ClassName' => ['type' => 'string'], + 'FunctionName' => ['type' => 'string'], + 'FunctionType' => ['type' => 'string'], + 'OwnerName' => ['type' => 'string'], + 'OwnerType' => ['type' => 'string'], 'ResourceUri' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ResourceUri', - ], - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['$ref' => '#/components/schemas/ResourceUri'], ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], ], ], 'FunctionResource' => [ 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'type' => 'string', - ], - 'FunctionName' => [ - 'type' => 'string', - ], + 'DatabaseName' => ['type' => 'string'], + 'FunctionName' => ['type' => 'string'], ], ], 'GrantRevokeEntry' => [ 'type' => 'object', 'properties' => [ - 'MetaResource' => [ - '$ref' => '#/components/schemas/MetaResource', - ], - 'Accesses' => [ - '$ref' => '#/components/schemas/Accesses', - ], - 'DelegateAccesses' => [ - '$ref' => '#/components/schemas/Accesses', - ], - 'Principal' => [ - '$ref' => '#/components/schemas/Principal', - ], - 'Id' => [ - 'type' => 'string', - ], + 'MetaResource' => ['$ref' => '#/components/schemas/MetaResource'], + 'Accesses' => ['$ref' => '#/components/schemas/Accesses'], + 'DelegateAccesses' => ['$ref' => '#/components/schemas/Accesses'], + 'Principal' => ['$ref' => '#/components/schemas/Principal'], + 'Id' => ['type' => 'string'], ], ], 'GrantRevokeFailureEntry' => [ 'type' => 'object', 'properties' => [ - 'GrantRevokeEntry' => [ - '$ref' => '#/components/schemas/GrantRevokeEntry', - ], - 'ErrorDetail' => [ - '$ref' => '#/components/schemas/ErrorDetail', - ], + 'GrantRevokeEntry' => ['$ref' => '#/components/schemas/GrantRevokeEntry'], + 'ErrorDetail' => ['$ref' => '#/components/schemas/ErrorDetail'], ], ], 'HighLight' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'Key' => ['type' => 'string'], + 'Value' => ['type' => 'string'], ], ], 'IndicatorStatistic' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Date' => [ - 'type' => 'string', - ], + 'Data' => ['type' => 'integer', 'format' => 'int64'], + 'Date' => ['type' => 'string'], ], ], 'LifecycleResource' => [ 'type' => 'object', 'properties' => [ - 'LifecycleRuleBizId' => [ - 'type' => 'string', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'TableProfile' => [ - '$ref' => '#/components/schemas/TableProfile', - ], + 'LifecycleRuleBizId' => ['type' => 'string'], + 'DatabaseName' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], + 'GmtCreate' => ['type' => 'string'], + 'TableProfile' => ['$ref' => '#/components/schemas/TableProfile'], 'Database' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Description' => [ - 'type' => 'string', - ], - 'LocationUri' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int64'], + 'Description' => ['type' => 'string'], + 'LocationUri' => ['type' => 'string'], + 'Name' => ['type' => 'string'], ], ], 'Table' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'TableType' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], + 'DatabaseName' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], + 'TableType' => ['type' => 'string'], 'Sd' => [ 'type' => 'object', 'properties' => [ 'BucketCols' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'InputFormat' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], - 'OutputFormat' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'InputFormat' => ['type' => 'string'], + 'Location' => ['type' => 'string'], + 'OutputFormat' => ['type' => 'string'], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'SerDeInfo' => [ 'type' => 'object', 'properties' => [ 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'SerializationLib' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], + 'SerializationLib' => ['type' => 'string'], + 'Name' => ['type' => 'string'], ], ], ], ], ], ], - 'DatabaseProfile' => [ - '$ref' => '#/components/schemas/DatabaseProfile', - ], - 'Owner' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'BizId' => [ - 'type' => 'string', - ], - 'CatalogId' => [ - 'type' => 'string', - ], + 'DatabaseProfile' => ['$ref' => '#/components/schemas/DatabaseProfile'], + 'Owner' => ['type' => 'integer', 'format' => 'int64'], + 'BizId' => ['type' => 'string'], + 'CatalogId' => ['type' => 'string'], ], ], 'LifecycleRule' => [ 'type' => 'object', 'properties' => [ - 'BizId' => [ - 'type' => 'string', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'GmtModified' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'ResourceType' => [ - 'type' => 'string', - ], - 'BindCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Description' => [ - 'type' => 'string', - ], - 'RuleType' => [ - 'type' => 'string', - ], - 'Config' => [ - 'type' => 'string', - ], - 'IaDays' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ArchiveDays' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ColdArchiveDays' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ScheduleStatus' => [ - 'type' => 'string', - ], - 'Workflow' => [ - '$ref' => '#/components/schemas/Workflow', - ], - 'WorkflowId' => [ - 'type' => 'string', - ], - 'WorkflowInstance' => [ - '$ref' => '#/components/schemas/WorkflowInstance', - ], - 'CatalogId' => [ - 'type' => 'string', - ], - ], - ], - 'LifecycleTask' => [ - 'type' => 'object', - 'properties' => [ - 'BizId' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'WorkflowInstance' => [ - '$ref' => '#/components/schemas/WorkflowInstance', - ], - 'LifecycleRule' => [ - '$ref' => '#/components/schemas/LifecycleRule', - ], + 'BizId' => ['type' => 'string'], + 'GmtCreate' => ['type' => 'string'], + 'GmtModified' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'ResourceType' => ['type' => 'string'], + 'BindCount' => ['type' => 'integer', 'format' => 'int32'], + 'Description' => ['type' => 'string'], + 'RuleType' => ['type' => 'string'], + 'Config' => ['type' => 'string'], + 'IaDays' => ['type' => 'integer', 'format' => 'int32'], + 'ArchiveDays' => ['type' => 'integer', 'format' => 'int32'], + 'ColdArchiveDays' => ['type' => 'integer', 'format' => 'int32'], + 'ScheduleStatus' => ['type' => 'string'], + 'Workflow' => ['$ref' => '#/components/schemas/Workflow'], + 'WorkflowId' => ['type' => 'string'], + 'WorkflowInstance' => ['$ref' => '#/components/schemas/WorkflowInstance'], + 'CatalogId' => ['type' => 'string'], ], ], 'ListFieldSchema' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/FieldSchema', - ], - ], - 'ListListString' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ListString', - ], + 'items' => ['$ref' => '#/components/schemas/FieldSchema'], ], 'ListResourceUri' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'type' => 'string', - ], - 'Uri' => [ - 'type' => 'string', - ], + 'ResourceType' => ['type' => 'string'], + 'Uri' => ['type' => 'string'], ], ], ], 'ListString' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'LocationStorageRankDTO' => [ 'type' => 'object', 'properties' => [ - 'Location' => [ - 'type' => 'string', - ], - 'Storage' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Location' => ['type' => 'string'], + 'Storage' => ['type' => 'integer', 'format' => 'int64'], + 'FileCnt' => ['type' => 'integer', 'format' => 'int64'], ], ], 'LockObj' => [ 'type' => 'object', 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'PartitionName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], + 'CatalogId' => ['type' => 'string'], + 'DatabaseName' => ['type' => 'string'], + 'PartitionName' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], ], ], 'LockStatus' => [ 'type' => 'object', 'properties' => [ - 'LockId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LockState' => [ - 'type' => 'string', - ], + 'LockId' => ['type' => 'integer', 'format' => 'int64'], + 'LockState' => ['type' => 'string'], ], ], 'LogInfo' => [ 'type' => 'object', 'properties' => [ - 'GmtCreate' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - ], - 'BizTime' => [ - 'type' => 'string', - ], - 'LogType' => [ - 'type' => 'string', - ], - 'LogId' => [ - 'type' => 'string', - ], - 'LogSummary' => [ - 'type' => 'string', - ], - 'LogContent' => [ - 'type' => 'string', - ], + 'GmtCreate' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string'], + 'BizTime' => ['type' => 'string'], + 'LogType' => ['type' => 'string'], + 'LogId' => ['type' => 'string'], + 'LogSummary' => ['type' => 'string'], + 'LogContent' => ['type' => 'string'], ], ], 'MetaResource' => [ 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'CatalogResource' => [ - '$ref' => '#/components/schemas/CatalogResource', - ], - 'DatabaseResource' => [ - '$ref' => '#/components/schemas/DatabaseResource', - ], - 'TableResource' => [ - '$ref' => '#/components/schemas/TableResource', - ], - 'FunctionResource' => [ - '$ref' => '#/components/schemas/FunctionResource', - ], - 'ColumnResource' => [ - '$ref' => '#/components/schemas/ColumnResource', - ], + 'ResourceType' => ['type' => 'string', 'required' => false], + 'CatalogResource' => ['$ref' => '#/components/schemas/CatalogResource'], + 'DatabaseResource' => ['$ref' => '#/components/schemas/DatabaseResource'], + 'TableResource' => ['$ref' => '#/components/schemas/TableResource'], + 'FunctionResource' => ['$ref' => '#/components/schemas/FunctionResource'], + 'ColumnResource' => ['$ref' => '#/components/schemas/ColumnResource'], ], ], 'Order' => [ 'type' => 'object', 'properties' => [ - 'Col' => [ - 'type' => 'string', - ], - 'Order' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Col' => ['type' => 'string'], + 'Order' => ['type' => 'integer', 'format' => 'int32'], ], ], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'Partition' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'LastAccessTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'LastAnalyzedTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'DatabaseName' => ['type' => 'string'], + 'LastAccessTime' => ['type' => 'integer', 'format' => 'int32'], + 'LastAnalyzedTime' => ['type' => 'integer', 'format' => 'int32'], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'Privileges' => [ - '$ref' => '#/components/schemas/PrincipalPrivilegeSet', - ], - 'Sd' => [ - '$ref' => '#/components/schemas/StorageDescriptor', - ], - 'TableName' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], + 'Privileges' => ['$ref' => '#/components/schemas/PrincipalPrivilegeSet'], + 'Sd' => ['$ref' => '#/components/schemas/StorageDescriptor'], + 'TableName' => ['type' => 'string'], 'Values' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'PartitionError' => [ 'type' => 'object', 'properties' => [ - 'ErrorDetail' => [ - '$ref' => '#/components/schemas/ErrorDetail', - ], - 'PartitionValues' => [ - '$ref' => '#/components/schemas/ListString', - ], + 'ErrorDetail' => ['$ref' => '#/components/schemas/ErrorDetail'], + 'PartitionValues' => ['$ref' => '#/components/schemas/ListString'], ], ], 'PartitionInput' => [ 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'type' => 'string', - ], - 'LastAccessTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'LastAnalyzedTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'DatabaseName' => ['type' => 'string'], + 'LastAccessTime' => ['type' => 'integer', 'format' => 'int32'], + 'LastAnalyzedTime' => ['type' => 'integer', 'format' => 'int32'], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'Privileges' => [ - '$ref' => '#/components/schemas/PrincipalPrivilegeSet', - ], - 'Sd' => [ - '$ref' => '#/components/schemas/StorageDescriptor', - ], - 'TableName' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], + 'Privileges' => ['$ref' => '#/components/schemas/PrincipalPrivilegeSet'], + 'Sd' => ['$ref' => '#/components/schemas/StorageDescriptor'], + 'TableName' => ['type' => 'string'], 'Values' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['type' => 'string'], ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], ], ], 'PartitionProfile' => [ 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'PartitionName' => [ - 'type' => 'string', - ], - 'ArchiveStatus' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'LastModifyTime' => [ - 'type' => 'string', - ], - 'LastAccessTime' => [ - 'type' => 'string', - ], - 'LastAccessNumTime' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], - 'FileSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AccessNum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AccessNumWeekly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AccessNumMonthly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectAccessNum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectAccessNumWeekly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectAccessNumMonthly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DataSourceType' => [ - 'type' => 'string', - ], + 'DatabaseName' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], + 'PartitionName' => ['type' => 'string'], + 'ArchiveStatus' => ['type' => 'string'], + 'CreateTime' => ['type' => 'string'], + 'LastModifyTime' => ['type' => 'string'], + 'LastAccessTime' => ['type' => 'string'], + 'LastAccessNumTime' => ['type' => 'string'], + 'Location' => ['type' => 'string'], + 'FileSize' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectSize' => ['type' => 'integer', 'format' => 'int64'], + 'FileCnt' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectCnt' => ['type' => 'integer', 'format' => 'int64'], + 'AccessNum' => ['type' => 'integer', 'format' => 'int64'], + 'AccessNumWeekly' => ['type' => 'integer', 'format' => 'int64'], + 'AccessNumMonthly' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectAccessNum' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectAccessNumWeekly' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectAccessNumMonthly' => ['type' => 'integer', 'format' => 'int64'], + 'DataSourceType' => ['type' => 'string'], ], ], 'PartitionSpec' => [ @@ -1153,22 +500,16 @@ 'properties' => [ 'SharedSDPartitions' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Partition', - ], + 'items' => ['$ref' => '#/components/schemas/Partition'], ], 'SharedStorageDescriptor' => [ 'type' => 'object', 'properties' => [ 'Cols' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/FieldSchema', - ], - ], - 'Location' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/FieldSchema'], ], + 'Location' => ['type' => 'string'], ], ], ], @@ -1178,212 +519,117 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Values' => [ - '$ref' => '#/components/schemas/ListString', - ], + 'Values' => ['$ref' => '#/components/schemas/ListString'], ], ], ], 'Principal' => [ 'type' => 'object', 'properties' => [ - 'PrincipalArn' => [ - 'type' => 'string', - ], + 'PrincipalArn' => ['type' => 'string'], ], ], 'PrincipalPrivilegeSet' => [ 'type' => 'object', 'properties' => [ - 'GroupPrivileges' => [ - '$ref' => '#/components/schemas/Privileges', - ], - 'RolePrivileges' => [ - '$ref' => '#/components/schemas/Privileges', - ], - 'UserPrivileges' => [ - '$ref' => '#/components/schemas/Privileges', - ], + 'GroupPrivileges' => ['$ref' => '#/components/schemas/Privileges'], + 'RolePrivileges' => ['$ref' => '#/components/schemas/Privileges'], + 'UserPrivileges' => ['$ref' => '#/components/schemas/Privileges'], ], ], 'PrincipalResourcePermissions' => [ 'type' => 'object', 'properties' => [ - 'Principal' => [ - '$ref' => '#/components/schemas/Principal', - 'required' => true, - ], - 'MetaResource' => [ - '$ref' => '#/components/schemas/MetaResource', - 'required' => true, - ], - 'Accesses' => [ - '$ref' => '#/components/schemas/Accesses', - ], - 'DelegateAccesses' => [ - '$ref' => '#/components/schemas/Accesses', - ], + 'Principal' => ['$ref' => '#/components/schemas/Principal', 'required' => true], + 'MetaResource' => ['$ref' => '#/components/schemas/MetaResource', 'required' => true], + 'Accesses' => ['$ref' => '#/components/schemas/Accesses'], + 'DelegateAccesses' => ['$ref' => '#/components/schemas/Accesses'], ], ], 'PrincipalResourcePermissionsList' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PrincipalResourcePermissions', - ], + 'items' => ['$ref' => '#/components/schemas/PrincipalResourcePermissions'], ], 'Principals' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Principal', - ], + 'items' => ['$ref' => '#/components/schemas/Principal'], ], 'PrivilegeGrantInfo' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'GrantOption' => [ - 'type' => 'boolean', - ], - 'Grantor' => [ - 'type' => 'string', - ], - 'GrantorType' => [ - 'type' => 'string', - ], - 'Privilege' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'GrantOption' => ['type' => 'boolean'], + 'Grantor' => ['type' => 'string'], + 'GrantorType' => ['type' => 'string'], + 'Privilege' => ['type' => 'string'], ], ], 'PrivilegeResource' => [ 'type' => 'object', 'properties' => [ - 'MetaResource' => [ - '$ref' => '#/components/schemas/MetaResource', - ], - 'Access' => [ - 'type' => 'string', - ], + 'MetaResource' => ['$ref' => '#/components/schemas/MetaResource'], + 'Access' => ['type' => 'string'], ], ], 'PrivilegeResources' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PrivilegeResource', - ], + 'items' => ['$ref' => '#/components/schemas/PrivilegeResource'], ], 'Privileges' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PrivilegeGrantInfo', - ], + 'items' => ['$ref' => '#/components/schemas/PrivilegeGrantInfo'], ], ], 'ResourceUri' => [ 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'type' => 'string', - ], - 'Uri' => [ - 'type' => 'string', - ], + 'ResourceType' => ['type' => 'string'], + 'Uri' => ['type' => 'string'], ], ], 'Role' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'Users' => [ - '$ref' => '#/components/schemas/Principals', - ], - 'DisplayName' => [ - 'type' => 'string', - ], - 'PrincipalArn' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'IsPredefined' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Name' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'Users' => ['$ref' => '#/components/schemas/Principals'], + 'DisplayName' => ['type' => 'string'], + 'PrincipalArn' => ['type' => 'string'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int64'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int64'], + 'IsPredefined' => ['type' => 'integer', 'format' => 'int32'], ], ], 'RoleInput' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'DisplayName' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'DisplayName' => ['type' => 'string'], ], ], 'Roles' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Role', - ], + 'items' => ['$ref' => '#/components/schemas/Role'], ], 'SerDeInfo' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'Parameters' => [ - '$ref' => '#/components/schemas/Parameters', - ], - 'SerializationLib' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string'], + 'Parameters' => ['$ref' => '#/components/schemas/Parameters'], + 'SerializationLib' => ['type' => 'string'], ], ], 'SingleIndicatorDTO' => [ 'type' => 'object', 'properties' => [ - 'DayOnDay' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'MonthOnMonth' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'DayIncrement' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MonthIncrement' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Total' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'DayOnDay' => ['type' => 'number', 'format' => 'double'], + 'MonthOnMonth' => ['type' => 'number', 'format' => 'double'], + 'DayIncrement' => ['type' => 'integer', 'format' => 'int64'], + 'MonthIncrement' => ['type' => 'integer', 'format' => 'int64'], + 'Total' => ['type' => 'integer', 'format' => 'int64'], ], ], 'SkewedInfo' => [ @@ -1391,23 +637,17 @@ 'properties' => [ 'SkewedColNames' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'SkewedColValueLocationMaps' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'SkewedColValues' => [ 'type' => 'array', 'items' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -1415,170 +655,78 @@ 'SmallFileCntRank' => [ 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'type' => 'string', - ], - 'Quantity' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DbName' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], + 'TableName' => ['type' => 'string'], + 'Quantity' => ['type' => 'integer', 'format' => 'int64'], + 'DbName' => ['type' => 'string'], + 'Location' => ['type' => 'string'], ], ], 'SortCriterion' => [ 'type' => 'object', 'properties' => [ - 'FieldName' => [ - 'type' => 'string', - ], - 'Sort' => [ - 'type' => 'string', - ], + 'FieldName' => ['type' => 'string'], + 'Sort' => ['type' => 'string'], ], ], 'StorageCollectTaskOperationResult' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'type' => 'boolean', - ], - 'TaskId' => [ - 'type' => 'string', - ], - 'TaskType' => [ - 'type' => 'string', - ], - 'DlfCreated' => [ - 'type' => 'boolean', - ], - 'ErrCode' => [ - 'type' => 'string', - ], - 'ErrMessage' => [ - 'type' => 'string', - ], + 'Success' => ['type' => 'boolean'], + 'TaskId' => ['type' => 'string'], + 'TaskType' => ['type' => 'string'], + 'DlfCreated' => ['type' => 'boolean'], + 'ErrCode' => ['type' => 'string'], + 'ErrMessage' => ['type' => 'string'], ], ], 'StorageDescriptor' => [ 'type' => 'object', 'properties' => [ - 'BucketCols' => [ - '$ref' => '#/components/schemas/ListString', - ], + 'BucketCols' => ['$ref' => '#/components/schemas/ListString'], 'Cols' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/FieldSchema', - ], - ], - 'Compressed' => [ - 'type' => 'boolean', - ], - 'InputFormat' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], - 'NumBuckets' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'OutputFormat' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/FieldSchema'], ], + 'Compressed' => ['type' => 'boolean'], + 'InputFormat' => ['type' => 'string'], + 'Location' => ['type' => 'string'], + 'NumBuckets' => ['type' => 'integer', 'format' => 'int32'], + 'OutputFormat' => ['type' => 'string'], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'SerDeInfo' => [ - '$ref' => '#/components/schemas/SerDeInfo', - ], - 'SkewedInfo' => [ - '$ref' => '#/components/schemas/SkewedInfo', + 'additionalProperties' => ['type' => 'string'], ], + 'SerDeInfo' => ['$ref' => '#/components/schemas/SerDeInfo'], + 'SkewedInfo' => ['$ref' => '#/components/schemas/SkewedInfo'], 'SortCols' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Order', - ], - ], - 'StoredAsSubDirectories' => [ - 'type' => 'boolean', + 'items' => ['$ref' => '#/components/schemas/Order'], ], + 'StoredAsSubDirectories' => ['type' => 'boolean'], ], ], 'StorageFormat' => [ 'type' => 'object', 'properties' => [ - 'Parquet' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Orc' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Delta' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Csv' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Iceberg' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Uncategorized' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Json' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Avro' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Hudi' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Parquet' => ['type' => 'integer', 'format' => 'int64'], + 'Orc' => ['type' => 'integer', 'format' => 'int64'], + 'Delta' => ['type' => 'integer', 'format' => 'int64'], + 'Csv' => ['type' => 'integer', 'format' => 'int64'], + 'Iceberg' => ['type' => 'integer', 'format' => 'int64'], + 'Uncategorized' => ['type' => 'integer', 'format' => 'int64'], + 'Json' => ['type' => 'integer', 'format' => 'int64'], + 'Avro' => ['type' => 'integer', 'format' => 'int64'], + 'Hudi' => ['type' => 'integer', 'format' => 'int64'], ], ], 'StorageLayer' => [ 'type' => 'object', 'properties' => [ - 'Archive' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ColdArchive' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Standard' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Infrequent' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Unknown' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Archive' => ['type' => 'integer', 'format' => 'int64'], + 'ColdArchive' => ['type' => 'integer', 'format' => 'int64'], + 'Standard' => ['type' => 'integer', 'format' => 'int64'], + 'Infrequent' => ['type' => 'integer', 'format' => 'int64'], + 'Unknown' => ['type' => 'integer', 'format' => 'int64'], ], ], 'StorageRankDTO' => [ @@ -1588,199 +736,80 @@ 'dbStorageRank' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/DbStorageRank', - ], + 'items' => ['$ref' => '#/components/schemas/DbStorageRank'], ], 'tableStorageRank' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TableStorageRank', - ], + 'items' => ['$ref' => '#/components/schemas/TableStorageRank'], ], 'smallFileCntRank' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SmallFileCntRank', - ], - ], - ], - ], - 'StorageSummary' => [ - 'type' => 'object', - 'properties' => [ - 'DatabaseNum' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'PartitionNum' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'TableNum' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['$ref' => '#/components/schemas/SmallFileCntRank'], ], ], ], 'StrogeCollectTask' => [ 'type' => 'object', 'properties' => [ - 'GmtModified' => [ - 'type' => 'string', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], - 'DestinationBucketName' => [ - 'type' => 'string', - ], - 'DestinationPrefix' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'DlfCreated' => [ - 'type' => 'boolean', - ], - 'TaskType' => [ - 'type' => 'string', - ], - 'InventoryId' => [ - 'type' => 'string', - ], + 'GmtModified' => ['type' => 'string'], + 'GmtCreate' => ['type' => 'string'], + 'Id' => ['type' => 'string'], + 'Location' => ['type' => 'string'], + 'DestinationBucketName' => ['type' => 'string'], + 'DestinationPrefix' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'DlfCreated' => ['type' => 'boolean'], + 'TaskType' => ['type' => 'string'], + 'InventoryId' => ['type' => 'string'], ], ], 'Table' => [ 'type' => 'object', 'properties' => [ - 'Cascade' => [ - 'type' => 'boolean', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CreatedBy' => [ - 'type' => 'string', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'LastAccessTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'LastAnalyzedTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Owner' => [ - 'type' => 'string', - ], - 'OwnerType' => [ - 'type' => 'string', - ], - 'Parameters' => [ - '$ref' => '#/components/schemas/Parameters', - ], - 'PartitionKeys' => [ - '$ref' => '#/components/schemas/ListFieldSchema', - ], - 'Privileges' => [ - '$ref' => '#/components/schemas/PrincipalPrivilegeSet', - ], - 'Retention' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RewriteEnabled' => [ - 'type' => 'boolean', - ], - 'Sd' => [ - '$ref' => '#/components/schemas/StorageDescriptor', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'TableType' => [ - 'type' => 'string', - ], - 'Temporary' => [ - 'type' => 'boolean', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ViewExpandedText' => [ - 'type' => 'string', - ], - 'ViewOriginalText' => [ - 'type' => 'string', - ], - 'TableId' => [ - 'type' => 'string', - ], - 'TableVersion' => [ - '$ref' => '#/components/schemas/TableVersion', - ], + 'Cascade' => ['type' => 'boolean'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'CreatedBy' => ['type' => 'string'], + 'DatabaseName' => ['type' => 'string'], + 'LastAccessTime' => ['type' => 'integer', 'format' => 'int32'], + 'LastAnalyzedTime' => ['type' => 'integer', 'format' => 'int32'], + 'Owner' => ['type' => 'string'], + 'OwnerType' => ['type' => 'string'], + 'Parameters' => ['$ref' => '#/components/schemas/Parameters'], + 'PartitionKeys' => ['$ref' => '#/components/schemas/ListFieldSchema'], + 'Privileges' => ['$ref' => '#/components/schemas/PrincipalPrivilegeSet'], + 'Retention' => ['type' => 'integer', 'format' => 'int32'], + 'RewriteEnabled' => ['type' => 'boolean'], + 'Sd' => ['$ref' => '#/components/schemas/StorageDescriptor'], + 'TableName' => ['type' => 'string'], + 'TableType' => ['type' => 'string'], + 'Temporary' => ['type' => 'boolean'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int32'], + 'ViewExpandedText' => ['type' => 'string'], + 'ViewOriginalText' => ['type' => 'string'], + 'TableId' => ['type' => 'string'], + 'TableVersion' => ['$ref' => '#/components/schemas/TableVersion'], ], ], 'TableError' => [ 'type' => 'object', 'properties' => [ - 'ErrorDetail' => [ - '$ref' => '#/components/schemas/ErrorDetail', - ], - 'TableName' => [ - 'type' => 'string', - ], + 'ErrorDetail' => ['$ref' => '#/components/schemas/ErrorDetail'], + 'TableName' => ['type' => 'string'], ], ], 'TableExtended' => [ 'type' => 'object', 'properties' => [ - 'Cascade' => [ - 'type' => 'boolean', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'CreatedBy' => [ - 'type' => 'string', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'LastAccessTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'LastAnalyzedTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Owner' => [ - 'type' => 'string', - ], - 'OwnerType' => [ - 'type' => 'string', - ], - 'Parameters' => [ - '$ref' => '#/components/schemas/Parameters', - ], - 'PartitionKeys' => [ - '$ref' => '#/components/schemas/ListFieldSchema', - ], + 'Cascade' => ['type' => 'boolean'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'CreatedBy' => ['type' => 'string'], + 'DatabaseName' => ['type' => 'string'], + 'LastAccessTime' => ['type' => 'integer', 'format' => 'int32'], + 'LastAnalyzedTime' => ['type' => 'integer', 'format' => 'int32'], + 'Owner' => ['type' => 'string'], + 'OwnerType' => ['type' => 'string'], + 'Parameters' => ['$ref' => '#/components/schemas/Parameters'], + 'PartitionKeys' => ['$ref' => '#/components/schemas/ListFieldSchema'], 'Privileges' => [ 'type' => 'object', 'properties' => [ @@ -1791,22 +820,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'GrantOption' => [ - 'type' => 'boolean', - ], - 'Grantor' => [ - 'type' => 'string', - ], - 'GrantorType' => [ - 'type' => 'string', - ], - 'Privilege' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'GrantOption' => ['type' => 'boolean'], + 'Grantor' => ['type' => 'string'], + 'GrantorType' => ['type' => 'string'], + 'Privilege' => ['type' => 'string'], ], ], ], @@ -1818,22 +836,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'GrantOption' => [ - 'type' => 'boolean', - ], - 'Grantor' => [ - 'type' => 'string', - ], - 'GrantorType' => [ - 'type' => 'string', - ], - 'Privilege' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'GrantOption' => ['type' => 'boolean'], + 'Grantor' => ['type' => 'string'], + 'GrantorType' => ['type' => 'string'], + 'Privilege' => ['type' => 'string'], ], ], ], @@ -1845,87 +852,48 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'GrantOption' => [ - 'type' => 'boolean', - ], - 'Grantor' => [ - 'type' => 'string', - ], - 'GrantorType' => [ - 'type' => 'string', - ], - 'Privilege' => [ - 'type' => 'string', - ], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], + 'GrantOption' => ['type' => 'boolean'], + 'Grantor' => ['type' => 'string'], + 'GrantorType' => ['type' => 'string'], + 'Privilege' => ['type' => 'string'], ], ], ], ], ], ], - 'Retention' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RewriteEnabled' => [ - 'type' => 'boolean', - ], + 'Retention' => ['type' => 'integer', 'format' => 'int32'], + 'RewriteEnabled' => ['type' => 'boolean'], 'Sd' => [ 'type' => 'object', 'properties' => [ 'BucketCols' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'Cols' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/FieldSchema', - ], - ], - 'Compressed' => [ - 'type' => 'boolean', - ], - 'InputFormat' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], - 'NumBuckets' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'OutputFormat' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/FieldSchema'], ], + 'Compressed' => ['type' => 'boolean'], + 'InputFormat' => ['type' => 'string'], + 'Location' => ['type' => 'string'], + 'NumBuckets' => ['type' => 'integer', 'format' => 'int32'], + 'OutputFormat' => ['type' => 'string'], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'SerDeInfo' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string'], 'Parameters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'SerializationLib' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], + 'SerializationLib' => ['type' => 'string'], ], ], 'SkewedInfo' => [ @@ -1933,414 +901,215 @@ 'properties' => [ 'SkewedColNames' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'SkewedColValueLocationMaps' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'SkewedColValues' => [ 'type' => 'array', 'items' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], ], 'SortCols' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Order', - ], - ], - 'StoredAsSubDirectories' => [ - 'type' => 'boolean', + 'items' => ['$ref' => '#/components/schemas/Order'], ], + 'StoredAsSubDirectories' => ['type' => 'boolean'], ], ], - 'TableName' => [ - 'type' => 'string', - ], - 'TableType' => [ - 'type' => 'string', - ], - 'Temporary' => [ - 'type' => 'boolean', - ], - 'UpdateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ViewExpandedText' => [ - 'type' => 'string', - ], - 'ViewOriginalText' => [ - 'type' => 'string', - ], - 'TableFormat' => [ - 'type' => 'string', - ], + 'TableName' => ['type' => 'string'], + 'TableType' => ['type' => 'string'], + 'Temporary' => ['type' => 'boolean'], + 'UpdateTime' => ['type' => 'integer', 'format' => 'int32'], + 'ViewExpandedText' => ['type' => 'string'], + 'ViewOriginalText' => ['type' => 'string'], + 'TableFormat' => ['type' => 'string'], ], ], 'TableInput' => [ 'type' => 'object', 'properties' => [ - 'Cascade' => [ - 'type' => 'boolean', - ], - 'CreatedBy' => [ - 'type' => 'string', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'LastAccessTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'LastAnalyzedTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Owner' => [ - 'type' => 'string', - ], - 'OwnerType' => [ - 'type' => 'string', - ], - 'Parameters' => [ - '$ref' => '#/components/schemas/Parameters', - ], - 'PartitionKeys' => [ - '$ref' => '#/components/schemas/ListFieldSchema', - ], - 'Privileges' => [ - '$ref' => '#/components/schemas/PrincipalPrivilegeSet', - ], - 'Retention' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RewriteEnabled' => [ - 'type' => 'boolean', - ], - 'Sd' => [ - '$ref' => '#/components/schemas/StorageDescriptor', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'TableType' => [ - 'type' => 'string', - ], - 'Temporary' => [ - 'type' => 'boolean', - ], - 'ViewExpandedText' => [ - 'type' => 'string', - ], - 'ViewOriginalText' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Cascade' => ['type' => 'boolean'], + 'CreatedBy' => ['type' => 'string'], + 'DatabaseName' => ['type' => 'string'], + 'LastAccessTime' => ['type' => 'integer', 'format' => 'int32'], + 'LastAnalyzedTime' => ['type' => 'integer', 'format' => 'int32'], + 'Owner' => ['type' => 'string'], + 'OwnerType' => ['type' => 'string'], + 'Parameters' => ['$ref' => '#/components/schemas/Parameters'], + 'PartitionKeys' => ['$ref' => '#/components/schemas/ListFieldSchema'], + 'Privileges' => ['$ref' => '#/components/schemas/PrincipalPrivilegeSet'], + 'Retention' => ['type' => 'integer', 'format' => 'int32'], + 'RewriteEnabled' => ['type' => 'boolean'], + 'Sd' => ['$ref' => '#/components/schemas/StorageDescriptor'], + 'TableName' => ['type' => 'string'], + 'TableType' => ['type' => 'string'], + 'Temporary' => ['type' => 'boolean'], + 'ViewExpandedText' => ['type' => 'string'], + 'ViewOriginalText' => ['type' => 'string'], + 'CreateTime' => ['type' => 'integer', 'format' => 'int32'], ], ], 'TableProfile' => [ 'type' => 'object', 'properties' => [ - 'PartitionCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FileSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RecordCnt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'IsPartitioned' => [ - 'type' => 'boolean', - ], - 'LastModifyTime' => [ - 'type' => 'string', - ], - 'LastAccessTime' => [ - 'type' => 'string', - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'Location' => [ - 'type' => 'string', - ], - 'AccessNum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AccessNumWeekly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'AccessNumMonthly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'LastAccessNumTime' => [ - 'type' => 'string', - ], - 'LatestDate' => [ - 'type' => 'string', - ], - 'LatestAccessNumDate' => [ - 'type' => 'string', - ], - 'LastDdlTime' => [ - 'type' => 'string', - ], - 'ObjectAccessNum' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectAccessNumWeekly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'ObjectAccessNumMonthly' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DataSourceType' => [ - 'type' => 'string', - ], + 'PartitionCnt' => ['type' => 'integer', 'format' => 'int64'], + 'FileCnt' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectCnt' => ['type' => 'integer', 'format' => 'int64'], + 'FileSize' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectSize' => ['type' => 'integer', 'format' => 'int64'], + 'RecordCnt' => ['type' => 'integer', 'format' => 'int64'], + 'IsPartitioned' => ['type' => 'boolean'], + 'LastModifyTime' => ['type' => 'string'], + 'LastAccessTime' => ['type' => 'string'], + 'DatabaseName' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], + 'CreateTime' => ['type' => 'string'], + 'Location' => ['type' => 'string'], + 'AccessNum' => ['type' => 'integer', 'format' => 'int64'], + 'AccessNumWeekly' => ['type' => 'integer', 'format' => 'int64'], + 'AccessNumMonthly' => ['type' => 'integer', 'format' => 'int64'], + 'LastAccessNumTime' => ['type' => 'string'], + 'LatestDate' => ['type' => 'string'], + 'LatestAccessNumDate' => ['type' => 'string'], + 'LastDdlTime' => ['type' => 'string'], + 'ObjectAccessNum' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectAccessNumWeekly' => ['type' => 'integer', 'format' => 'int64'], + 'ObjectAccessNumMonthly' => ['type' => 'integer', 'format' => 'int64'], + 'DataSourceType' => ['type' => 'string'], ], ], 'TableResource' => [ 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], + 'DatabaseName' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], ], ], 'TableStorageRank' => [ 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'type' => 'string', - ], - 'Quantity' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'DbName' => [ - 'type' => 'string', - ], + 'TableName' => ['type' => 'string'], + 'Quantity' => ['type' => 'integer', 'format' => 'int64'], + 'DbName' => ['type' => 'string'], ], ], 'TableVersion' => [ 'type' => 'object', 'properties' => [ - 'Table' => [ - '$ref' => '#/components/schemas/Table', - ], - 'VersionId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Table' => ['$ref' => '#/components/schemas/Table'], + 'VersionId' => ['type' => 'integer', 'format' => 'int32'], ], ], 'TaskStatus' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], + 'Status' => ['type' => 'string'], + 'Message' => ['type' => 'string'], ], ], 'UnarchiveDetail' => [ 'type' => 'object', 'properties' => [ - 'ApiCallTimes' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'StorageSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Cost' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'StorageType' => [ - 'type' => 'string', - ], - 'UnarchiveTaskStatus' => [ - 'type' => 'string', - ], + 'ApiCallTimes' => ['type' => 'integer', 'format' => 'int64'], + 'StorageSize' => ['type' => 'integer', 'format' => 'int64'], + 'Cost' => ['type' => 'integer', 'format' => 'int64'], + 'StorageType' => ['type' => 'string'], + 'UnarchiveTaskStatus' => ['type' => 'string'], ], ], 'UpdateTablePartitionColumnStatisticsRequest' => [ 'type' => 'object', 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - ], + 'CatalogId' => ['type' => 'string'], 'ColumnStatisticsList' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ColumnStatistics', - ], - ], - 'DatabaseName' => [ - 'type' => 'string', - ], - 'Engine' => [ - 'type' => 'string', - ], - 'TableName' => [ - 'type' => 'string', - ], - 'ValidWriteIdList' => [ - 'type' => 'string', - ], - 'WriteId' => [ - 'type' => 'string', - ], - 'IsStatsCompliant' => [ - 'type' => 'boolean', + 'items' => ['$ref' => '#/components/schemas/ColumnStatistics'], ], + 'DatabaseName' => ['type' => 'string'], + 'Engine' => ['type' => 'string'], + 'TableName' => ['type' => 'string'], + 'ValidWriteIdList' => ['type' => 'string'], + 'WriteId' => ['type' => 'string'], + 'IsStatsCompliant' => ['type' => 'boolean'], ], ], 'UserRole' => [ 'type' => 'object', 'properties' => [ - 'Role' => [ - '$ref' => '#/components/schemas/Role', - ], - 'GrantTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'User' => [ - '$ref' => '#/components/schemas/Principal', - ], + 'Role' => ['$ref' => '#/components/schemas/Role'], + 'GrantTime' => ['type' => 'integer', 'format' => 'int64'], + 'User' => ['$ref' => '#/components/schemas/Principal'], ], ], 'UserRoles' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/UserRole', - ], + 'items' => ['$ref' => '#/components/schemas/UserRole'], ], 'Workflow' => [ 'type' => 'object', 'properties' => [ - 'LatestInstanceId' => [ - 'type' => 'string', - ], - 'LatestInstanceStatus' => [ - 'type' => 'string', - ], - 'LatestStartTime' => [ - 'type' => 'string', - ], - 'LatestEndTime' => [ - 'type' => 'string', - ], + 'LatestInstanceId' => ['type' => 'string'], + 'LatestInstanceStatus' => ['type' => 'string'], + 'LatestStartTime' => ['type' => 'string'], + 'LatestEndTime' => ['type' => 'string'], ], ], 'WorkflowInstance' => [ 'type' => 'object', 'properties' => [ - 'DlfWorkflowId' => [ - 'type' => 'string', - ], - 'ExternalInstanceId' => [ - 'type' => 'string', - ], - 'StartTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'EndTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Status' => [ - 'type' => 'string', - ], + 'DlfWorkflowId' => ['type' => 'string'], + 'ExternalInstanceId' => ['type' => 'string'], + 'StartTime' => ['type' => 'integer', 'format' => 'int64'], + 'EndTime' => ['type' => 'integer', 'format' => 'int64'], + 'Status' => ['type' => 'string'], 'RuntimeLogs' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/LogInfo', - ], - ], - 'BatchProgress' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['$ref' => '#/components/schemas/LogInfo'], ], + 'BatchProgress' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], 'apis' => [ - 'CreateCatalog' => [ - 'path' => '/api/metastore/catalogs', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AbortLock' => [ + 'path' => '/api/metastore/catalogs/databases/tables/locks/abort', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'LockId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'BatchCreatePartitions' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchcreate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -2351,75 +1120,66 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogInput' => [ - '$ref' => '#/components/schemas/CatalogInput', + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'IfNotExists' => ['type' => 'boolean', 'required' => false], + 'NeedResult' => ['type' => 'boolean', 'required' => false], + 'PartitionInputs' => [ + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/PartitionInput', 'required' => false], ], + 'TableName' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'DeleteCatalog' => [ - 'path' => '/api/metastore/catalogs', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchCreateTables' => [ + 'path' => '/api/metastore/catalogs/databases/tables/batchcreate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'IsAsync', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'IfNotExists' => ['type' => 'boolean', 'required' => false], + 'TableInputs' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/TableInput', 'required' => false], + ], + ], ], ], ], ], - 'UpdateCatalog' => [ - 'path' => '/api/metastore/catalogs', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchDeletePartitions' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchdelete', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -2430,118 +1190,126 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogInput' => [ - '$ref' => '#/components/schemas/CatalogInput', - 'required' => true, - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'IfExists' => ['type' => 'boolean', 'required' => false], + 'PartitionValueList' => ['$ref' => '#/components/schemas/PartitionValueList', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'ListCatalogs' => [ - 'path' => '/api/metastore/catalogs/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchDeleteTableVersions' => [ + 'path' => '/api/metastore/catalogs/databases/tables/versions/batchdelete', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'IdPattern', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + 'VersionIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], ], ], + ], + ], + 'BatchDeleteTables' => [ + 'path' => '/api/metastore/catalogs/databases/tables/batchdelete', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NextPageToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, - 'minimum' => '-2', - 'maximum' => '1000000', + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'IfExists' => ['type' => 'boolean', 'required' => false], + 'TableNames' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], - 'GetCatalog' => [ - 'path' => '/api/metastore/catalogs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchGetPartitionColumnStatistics' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/columnstatistics/batchget', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + 'PartitionNames' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + 'ColumnNames' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + ], ], ], ], ], - 'CreateDatabase' => [ - 'path' => '/api/metastore/catalogs/databases', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchGetPartitions' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchget', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -2552,95 +1320,56 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseInput' => [ - '$ref' => '#/components/schemas/DatabaseInput', - 'required' => false, - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'PartitionValueList' => ['$ref' => '#/components/schemas/PartitionValueList', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + 'IsShareSd' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'DeleteDatabase' => [ - 'path' => '/api/metastore/catalogs/databases', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchGetTables' => [ + 'path' => '/api/metastore/catalogs/databases/tables/batchget', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Cascade', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'Async', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'TableNames' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + ], ], ], ], ], - 'UpdateDatabase' => [ - 'path' => '/api/metastore/catalogs/databases', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchGrantPermissions' => [ + 'path' => '/api/metastore/auth/permissions/batchgrant', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -2651,142 +1380,104 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ + 'Type' => [ 'type' => 'string', - 'required' => false, - ], - 'DatabaseInput' => [ - '$ref' => '#/components/schemas/DatabaseInput', - 'required' => false, + 'required' => true, + 'enum' => ['hive'], ], - 'Name' => [ - 'type' => 'string', + 'GrantRevokeEntries' => [ + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/GrantRevokeEntry', 'required' => false], ], + 'CatalogId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetDatabase' => [ - 'path' => '/api/metastore/catalogs/databases', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchRevokePermissions' => [ + 'path' => '/api/metastore/auth/permissions/batchrevoke', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Type' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['hive'], + ], + 'GrantRevokeEntries' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/GrantRevokeEntry', 'required' => false], + ], + 'CatalogId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListDatabases' => [ - 'path' => '/api/metastore/catalogs/databases/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchUpdatePartitions' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchupdate', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'NamePattern', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'NextPageToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, - 'minimum' => '-2', - 'maximum' => '1000000', + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'PartitionInputs' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/PartitionInput', 'required' => false], + ], + 'TableName' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'CreateTable' => [ - 'path' => '/api/metastore/catalogs/databases/tables', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchUpdateTables' => [ + 'path' => '/api/metastore/catalogs/databases/tables/batchupdate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -2797,205 +1488,184 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'TableInput' => [ - '$ref' => '#/components/schemas/TableInput', + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'TableInputs' => [ + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/TableInput', 'required' => false], ], + 'IsAsync' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'DeleteTable' => [ - 'path' => '/api/metastore/catalogs/databases/tables', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CancelQuery' => [ + 'path' => '/webapi/query/cancelQuery', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', + 'name' => 'QueryId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'CheckPermissions' => [ + 'path' => '/api/metastore/auth/permissions/check', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DatabaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/AccessRequest', 'required' => false], ], ], ], - 'DeleteTableColumnStatistics' => [ - 'path' => '/api/metastore/catalogs/databases/tables/columnstatistics', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateCatalog' => [ + 'path' => '/api/metastore/catalogs', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'DatabaseName', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogInput' => ['$ref' => '#/components/schemas/CatalogInput', 'required' => false], + ], ], ], + ], + ], + 'CreateDatabase' => [ + 'path' => '/api/metastore/catalogs/databases', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'ColumnNames', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - '$ref' => '#/components/schemas/ListString', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseInput' => ['$ref' => '#/components/schemas/DatabaseInput', 'required' => false], + ], ], ], ], ], - 'DeleteTableVersion' => [ - 'path' => '/api/metastore/catalogs/databases/tables/versions', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFunction' => [ + 'path' => '/api/metastore/catalogs/databases/functions', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'DatabaseName', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'FunctionInput' => ['$ref' => '#/components/schemas/FunctionInput', 'required' => false], + ], ], ], + ], + ], + 'CreateLock' => [ + 'path' => '/api/metastore/catalogs/databases/tables/locks', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'VersionId', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'LockObjList' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/LockObj', 'required' => false], + ], + ], ], ], ], ], - 'UpdateTable' => [ - 'path' => '/api/metastore/catalogs/databases/tables', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreatePartition' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3006,1047 +1676,582 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'SkipArchive' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'TableInput' => [ - '$ref' => '#/components/schemas/TableInput', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IsAsync' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'AllowPartitionKeyChange' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'IfNotExists' => ['type' => 'boolean', 'required' => false], + 'NeedResult' => ['type' => 'boolean', 'required' => false], + 'PartitionInput' => ['$ref' => '#/components/schemas/PartitionInput', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpdateTableColumnStatistics' => [ - 'path' => '/api/metastore/catalogs/databases/tables/columnstatistics', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateRole' => [ + 'path' => '/api/metastore/auth/roles', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'UpdateTablePartitionColumnStatisticsRequest', + 'name' => 'body', 'in' => 'body', - 'style' => 'flat', - 'schema' => [ - '$ref' => '#/components/schemas/UpdateTablePartitionColumnStatisticsRequest', - 'required' => false, - ], + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/RoleInput', 'required' => false], ], ], ], - 'GetTable' => [ + 'CreateTable' => [ 'path' => '/api/metastore/catalogs/databases/tables', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'TableInput' => ['$ref' => '#/components/schemas/TableInput', 'required' => false], + ], ], ], + ], + ], + 'DeleteCatalog' => [ + 'path' => '/api/metastore/catalogs', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DatabaseName', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TableName', + 'name' => 'IsAsync', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetTableColumnStatistics' => [ - 'path' => '/api/metastore/catalogs/databases/tables/columnstatistics', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteDatabase' => [ + 'path' => '/api/metastore/catalogs/databases', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'DatabaseName', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TableName', + 'name' => 'Cascade', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'ColumnNames', + 'name' => 'Async', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetTableVersion' => [ - 'path' => '/api/metastore/catalogs/databases/tables/versions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteFunction' => [ + 'path' => '/api/metastore/catalogs/databases/functions', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TableName', + 'name' => 'FunctionName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeletePartition' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/delete', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'VersionId', - 'in' => 'query', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'IfExists' => ['type' => 'boolean', 'required' => false], + 'PartitionValues' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListTableNames' => [ - 'path' => '/api/metastore/catalogs/databases/tables/names', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeletePartitionColumnStatistics' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/columnstatistics', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TableNamePattern', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NextPageToken', + 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '-1', - 'maximum' => '1000000', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'DatabaseName', + 'name' => 'PartitionNames', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/ListString', 'required' => false], ], [ - 'name' => 'TableType', + 'name' => 'ColumnNames', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/ListString', 'required' => false], ], ], ], - 'ListTables' => [ - 'path' => '/api/metastore/databases/tables/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteRole' => [ + 'path' => '/api/metastore/auth/roles', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TableNamePattern', + 'name' => 'RoleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteTable' => [ + 'path' => '/api/metastore/catalogs/databases/tables', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NextPageToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '-1', - 'maximum' => '1000000', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TableType', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListTableVersions' => [ - 'path' => '/api/metastore/catalogs/databases/tables/versions/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteTableColumnStatistics' => [ + 'path' => '/api/metastore/catalogs/databases/tables/columnstatistics', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'NextPageToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'ColumnNames', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/ListString', 'required' => false], ], ], ], - 'GetTableProfile' => [ - 'path' => '/webapi/metastorehouse/catalog/database/tableprofile', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteTableVersion' => [ + 'path' => '/api/metastore/catalogs/databases/tables/versions', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'RenameTable' => [ - 'path' => '/api/metastore/catalogs/databases/tables/rename', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'TableInput' => [ - '$ref' => '#/components/schemas/TableInput', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IsAsync' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'BatchGetTables' => [ - 'path' => '/api/metastore/catalogs/databases/tables/batchget', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeregisterLocation' => [ + 'path' => '/webapi/locations', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'TableNames' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - ], - ], + 'name' => 'LocationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'BatchCreateTables' => [ - 'path' => '/api/metastore/catalogs/databases/tables/batchcreate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRegions' => [ + 'path' => '/webapi/service/describeRegions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IfNotExists' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'TableInputs' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/TableInput', - 'required' => false, - ], - ], - ], - ], - ], - ], + 'parameters' => [], ], - 'BatchDeleteTables' => [ - 'path' => '/api/metastore/catalogs/databases/tables/batchdelete', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAsyncTaskStatus' => [ + 'path' => '/api/metastore/catalogs/tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IfExists' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'TableNames' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'BatchDeleteTableVersions' => [ - 'path' => '/api/metastore/catalogs/databases/tables/versions/batchdelete', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCatalog' => [ + 'path' => '/api/metastore/catalogs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - 'VersionIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'BatchUpdateTables' => [ - 'path' => '/api/metastore/catalogs/databases/tables/batchupdate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCatalogSettings' => [ + 'path' => '/api/metastore/catalogs/settings', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'TableInputs' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/TableInput', - 'required' => false, - ], - ], - 'IsAsync' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreatePartition' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDatabase' => [ + 'path' => '/api/metastore/catalogs/databases', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IfNotExists' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'NeedResult' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'PartitionInput' => [ - '$ref' => '#/components/schemas/PartitionInput', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeletePartition' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/delete', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDatabaseProfile' => [ + 'path' => '/webapi/metastorehouse/catalog/database/databaseprofile', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IfExists' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'PartitionValues' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeletePartitionColumnStatistics' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/columnstatistics', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFunction' => [ + 'path' => '/api/metastore/catalogs/databases/functions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TableName', + 'name' => 'FunctionName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetLifecycleRule' => [ + 'path' => '/webapi/metastorehouse/lifecycle/rule/getLifecycleRule', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PartitionNames', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ResourceName', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ColumnNames', + 'name' => 'BizId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdatePartitionColumnStatistics' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/columnstatistics', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetLock' => [ + 'path' => '/api/metastore/catalogs/databases/tables/locks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'UpdateTablePartitionColumnStatisticsRequest', - 'in' => 'body', - 'style' => 'flat', - 'schema' => [ - '$ref' => '#/components/schemas/UpdateTablePartitionColumnStatisticsRequest', - 'required' => false, - ], + 'name' => 'LockId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'GetPartition' => [ 'path' => '/api/metastore/catalogs/databases/tables/partitions/get', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -4057,22 +2262,10 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'PartitionValues' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'PartitionValues' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], ], ], ], @@ -4080,506 +2273,270 @@ ], 'GetPartitionColumnStatistics' => [ 'path' => '/api/metastore/catalogs/databases/tables/partitions/columnstatistics', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PartitionNames', 'in' => 'query', 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], + 'schema' => ['$ref' => '#/components/schemas/ListString', 'required' => false], ], [ 'name' => 'ColumnNames', 'in' => 'query', 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], + 'schema' => ['$ref' => '#/components/schemas/ListString', 'required' => false], ], ], ], - 'ListPartitionNames' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/names', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetQueryResult' => [ + 'path' => '/webapi/query/getQueryResult', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'NextPageToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'PartialPartValues' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'QueryId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'ListPartitions' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/list', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRegionStatus' => [ + 'path' => '/webapi/service/getRegionStatus', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'NextPageToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'PartialPartValues' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IsShareSd' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListPartitionsByFilter' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/listbyfilter', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRole' => [ + 'path' => '/api/metastore/auth/roles', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Filter' => [ - 'type' => 'string', - 'required' => false, - ], - 'NextPageToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IsShareSd' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'RoleName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'BatchCreatePartitions' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchcreate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetServiceStatus' => [ + 'path' => '/webapi/service/getServiceStatus', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IfNotExists' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'NeedResult' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'PartitionInputs' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/PartitionInput', - 'required' => false, - ], - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'BatchDeletePartitions' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchdelete', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTable' => [ + 'path' => '/api/metastore/catalogs/databases/tables', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IfExists' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'PartitionValueList' => [ - '$ref' => '#/components/schemas/PartitionValueList', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'BatchGetPartitionColumnStatistics' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/columnstatistics/batchget', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTableColumnStatistics' => [ + 'path' => '/api/metastore/catalogs/databases/tables/columnstatistics', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ColumnNames', + 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - 'PartitionNames' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - 'ColumnNames' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - ], - ], + 'schema' => ['$ref' => '#/components/schemas/ListString', 'required' => false], ], ], ], - 'BatchGetPartitions' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchget', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTableProfile' => [ + 'path' => '/webapi/metastorehouse/catalog/database/tableprofile', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'PartitionValueList' => [ - '$ref' => '#/components/schemas/PartitionValueList', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], - 'IsShareSd' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'BatchUpdatePartitions' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/batchupdate', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTableVersion' => [ + 'path' => '/api/metastore/catalogs/databases/tables/versions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GrantPermissions' => [ + 'path' => '/api/metastore/auth/permissions/grant', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -4590,434 +2547,265 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'PartitionInputs' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/PartitionInput', - 'required' => false, - ], - ], - 'TableName' => [ + 'Type' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['hive'], ], + 'MetaResource' => ['$ref' => '#/components/schemas/MetaResource', 'required' => true], + 'Accesses' => ['$ref' => '#/components/schemas/Accesses', 'required' => true], + 'DelegateAccesses' => ['$ref' => '#/components/schemas/Accesses', 'required' => true], + 'Principal' => ['$ref' => '#/components/schemas/Principal', 'required' => true], + 'CatalogId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'RenamePartition' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/rename', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GrantRoleToUsers' => [ + 'path' => '/api/metastore/auth/roles/grantusers', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', + 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'PartitionInput' => [ - '$ref' => '#/components/schemas/PartitionInput', - 'required' => false, - ], - 'PartitionValues' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - 'TableName' => [ - 'type' => 'string', - 'required' => false, - ], + 'RoleName' => ['type' => 'string', 'required' => false], + 'Users' => ['$ref' => '#/components/schemas/Principals', 'required' => false], ], ], ], ], ], - 'CreateFunction' => [ - 'path' => '/api/metastore/catalogs/databases/functions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GrantRolesToUser' => [ + 'path' => '/api/metastore/auth/roles/grantroles', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', + 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'FunctionInput' => [ - '$ref' => '#/components/schemas/FunctionInput', - 'required' => false, - ], + 'RoleNames' => ['$ref' => '#/components/schemas/ListString', 'required' => true], + 'User' => ['$ref' => '#/components/schemas/Principal', 'required' => true], ], ], ], ], ], - 'DeleteFunction' => [ - 'path' => '/api/metastore/catalogs/databases/functions', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCatalogs' => [ + 'path' => '/api/metastore/catalogs/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', + 'name' => 'IdPattern', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'DatabaseName', + 'name' => 'NextPageToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'FunctionName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '-2', 'maximum' => '1000000'], ], ], ], - 'UpdateFunction' => [ - 'path' => '/api/metastore/catalogs/databases/functions', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDatabases' => [ + 'path' => '/api/metastore/catalogs/databases/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'DatabaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'FunctionInput' => [ - '$ref' => '#/components/schemas/FunctionInput', - 'required' => false, - ], - 'FunctionName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NamePattern', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '-2', 'maximum' => '1000000'], ], ], ], 'ListFunctionNames' => [ 'path' => '/api/metastore/catalogs/databases/functions/names', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FunctionNamePattern', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NextPageToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '-1', - 'maximum' => '1000000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '-1', 'maximum' => '1000000'], ], ], ], 'ListFunctions' => [ 'path' => '/api/metastore/catalogs/databases/functions/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FunctionNamePattern', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NextPageToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '-1', - 'maximum' => '1000000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '-1', 'maximum' => '1000000'], ], ], ], - 'GetFunction' => [ - 'path' => '/api/metastore/catalogs/databases/functions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPartitionNames' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/names', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'DatabaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'FunctionName', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'NextPageToken' => ['type' => 'string', 'required' => false], + 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'PartialPartValues' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'CreateLock' => [ - 'path' => '/api/metastore/catalogs/databases/tables/locks', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPartitions' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -5028,160 +2816,155 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'LockObjList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/LockObj', - 'required' => false, - ], - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'NextPageToken' => ['type' => 'string', 'required' => false], + 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'PartialPartValues' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + 'IsShareSd' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'GetLock' => [ - 'path' => '/api/metastore/catalogs/databases/tables/locks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPartitionsByExpr' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/listbyexpr', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'LockId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'parameters' => [], ], - 'AbortLock' => [ - 'path' => '/api/metastore/catalogs/databases/tables/locks/abort', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPartitionsByFilter' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/listbyfilter', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'LockId', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'Filter' => ['type' => 'string', 'required' => false], + 'NextPageToken' => ['type' => 'string', 'required' => false], + 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + 'IsShareSd' => ['type' => 'boolean', 'required' => false], + ], ], ], ], ], - 'RefreshLock' => [ - 'path' => '/api/metastore/catalogs/databases/tables/locks', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPartitionsProfile' => [ + 'path' => '/webapi/metastorehouse/catalog/database/tableprofile/partitionprofile/listPartitionsProfile', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'LockId', + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TableName', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PartitionNames', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'UnLock' => [ - 'path' => '/api/metastore/catalogs/databases/tables/locks', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPermissions' => [ + 'path' => '/api/metastore/auth/permissions/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'LockId', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Principal' => ['$ref' => '#/components/schemas/Principal', 'required' => false], + 'NextPageToken' => ['type' => 'string', 'required' => false], + 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Type' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['hive'], + ], + 'MetaResource' => ['$ref' => '#/components/schemas/MetaResource', 'required' => false], + 'IsListUserRolePermissions' => ['type' => 'boolean', 'required' => false], + 'MetaResourceType' => ['type' => 'string', 'required' => false], + 'CatalogId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'StopMigrationWorkflow' => [ - 'path' => '/webapi/migration/workflow/stop', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRoleUsers' => [ + 'path' => '/api/metastore/auth/roles/roleusers', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5190,432 +2973,251 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RoleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'UserNamePattern', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'RunMigrationWorkflow' => [ - 'path' => '/webapi/migration/workflow/run', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRoles' => [ + 'path' => '/api/metastore/auth/roles/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'NextPageToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'RoleNamePattern', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'GetAsyncTaskStatus' => [ - 'path' => '/api/metastore/catalogs/tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTableNames' => [ + 'path' => '/api/metastore/catalogs/databases/tables/names', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CatalogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TaskId', + 'name' => 'TableNamePattern', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'Search' => [ - 'path' => '/api/metastore/catalogs/search', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - 'SearchText' => [ - 'type' => 'string', - 'required' => false, - ], - 'SortCriteria' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/SortCriterion', - 'required' => false, - ], - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'SearchType' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'table', - 'all', - 'database', - ], - ], - ], - ], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '-1', 'maximum' => '1000000'], ], - ], - ], - 'CreateRole' => [ - 'path' => '/api/metastore/auth/roles', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - '$ref' => '#/components/schemas/RoleInput', - 'required' => false, - ], + 'name' => 'TableType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GrantRoleToUsers' => [ - 'path' => '/api/metastore/auth/roles/grantusers', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTableVersions' => [ + 'path' => '/api/metastore/catalogs/databases/tables/versions/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'RoleName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Users' => [ - '$ref' => '#/components/schemas/Principals', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'GrantRolesToUser' => [ - 'path' => '/api/metastore/auth/roles/grantroles', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'RoleNames' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => true, - ], - 'User' => [ - '$ref' => '#/components/schemas/Principal', - 'required' => true, - ], - ], - ], + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'GrantPermissions' => [ - 'path' => '/api/metastore/auth/permissions/grant', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTables' => [ + 'path' => '/api/metastore/databases/tables/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'hive', - ], - ], - 'MetaResource' => [ - '$ref' => '#/components/schemas/MetaResource', - 'required' => true, - ], - 'Accesses' => [ - '$ref' => '#/components/schemas/Accesses', - 'required' => true, - ], - 'DelegateAccesses' => [ - '$ref' => '#/components/schemas/Accesses', - 'required' => true, - ], - 'Principal' => [ - '$ref' => '#/components/schemas/Principal', - 'required' => true, - ], - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'CatalogId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TableNamePattern', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '-1', 'maximum' => '1000000'], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TableType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'BatchGrantPermissions' => [ - 'path' => '/api/metastore/auth/permissions/batchgrant', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListUserRoles' => [ + 'path' => '/api/metastore/auth/roles/userroles', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'hive', - ], - ], - 'GrantRevokeEntries' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/GrantRevokeEntry', - 'required' => false, - ], - ], - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'PrincipalArn', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'RoleNamePattern', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NextPageToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteRole' => [ - 'path' => '/api/metastore/auth/roles', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RefreshLock' => [ + 'path' => '/api/metastore/catalogs/databases/tables/locks', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RoleName', + 'name' => 'LockId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'RevokeRoleFromUsers' => [ - 'path' => '/api/metastore/auth/roles/revokeusers', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RegisterLocation' => [ + 'path' => '/webapi/locations', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -5626,82 +3228,57 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'RoleName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Users' => [ - '$ref' => '#/components/schemas/Principals', - 'required' => false, - ], + 'Location' => ['type' => 'string', 'required' => true], + 'RoleName' => ['type' => 'string', 'required' => true], + 'InventoryCollectEnabled' => ['type' => 'boolean', 'required' => false], + 'OssLogCollectEnabled' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'RevokeRolesFromUser' => [ - 'path' => '/api/metastore/auth/roles/revokeroles', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RenamePartition' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/rename', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', + 'name' => 'Body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'RoleNames' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => true, - ], - 'User' => [ - '$ref' => '#/components/schemas/Principal', - 'required' => true, - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'PartitionInput' => ['$ref' => '#/components/schemas/PartitionInput', 'required' => false], + 'PartitionValues' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'RevokePermissions' => [ - 'path' => '/api/metastore/auth/permissions/revoke', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RenameTable' => [ + 'path' => '/api/metastore/catalogs/databases/tables/rename', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -5712,58 +3289,27 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'hive', - ], - ], - 'MetaResource' => [ - '$ref' => '#/components/schemas/MetaResource', - 'required' => true, - ], - 'Accesses' => [ - '$ref' => '#/components/schemas/Accesses', - 'required' => true, - ], - 'DelegateAccesses' => [ - '$ref' => '#/components/schemas/Accesses', - 'required' => false, - ], - 'Principal' => [ - '$ref' => '#/components/schemas/Principal', - 'required' => true, - ], - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'TableInput' => ['$ref' => '#/components/schemas/TableInput', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + 'IsAsync' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'BatchRevokePermissions' => [ - 'path' => '/api/metastore/auth/permissions/batchrevoke', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RevokePermissions' => [ + 'path' => '/api/metastore/auth/permissions/revoke', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -5777,47 +3323,27 @@ 'Type' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'hive', - ], - ], - 'GrantRevokeEntries' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/GrantRevokeEntry', - 'required' => false, - ], - ], - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, + 'enum' => ['hive'], ], + 'MetaResource' => ['$ref' => '#/components/schemas/MetaResource', 'required' => true], + 'Accesses' => ['$ref' => '#/components/schemas/Accesses', 'required' => true], + 'DelegateAccesses' => ['$ref' => '#/components/schemas/Accesses', 'required' => false], + 'Principal' => ['$ref' => '#/components/schemas/Principal', 'required' => true], + 'CatalogId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpdateRole' => [ - 'path' => '/api/metastore/auth/roles', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RevokeRoleFromUsers' => [ + 'path' => '/api/metastore/auth/roles/revokeusers', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ @@ -5828,39 +3354,24 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'RoleName' => [ - 'type' => 'string', - 'required' => false, - ], - 'RoleInput' => [ - '$ref' => '#/components/schemas/RoleInput', - 'required' => false, - ], + 'RoleName' => ['type' => 'string', 'required' => false], + 'Users' => ['$ref' => '#/components/schemas/Principals', 'required' => false], ], ], ], ], ], - 'UpdateRoleUsers' => [ - 'path' => '/api/metastore/auth/updateroleusers', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RevokeRolesFromUser' => [ + 'path' => '/api/metastore/auth/roles/revokeroles', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -5871,99 +3382,42 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'RoleName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Users' => [ - '$ref' => '#/components/schemas/Principals', - 'required' => false, - ], + 'RoleNames' => ['$ref' => '#/components/schemas/ListString', 'required' => true], + 'User' => ['$ref' => '#/components/schemas/Principal', 'required' => true], ], ], ], ], ], - 'UpdatePermissions' => [ - 'path' => '/api/metastore/auth/permissions/', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RunMigrationWorkflow' => [ + 'path' => '/webapi/migration/workflow/run', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'hive', - ], - ], - 'MetaResource' => [ - '$ref' => '#/components/schemas/MetaResource', - 'required' => true, - ], - 'Accesses' => [ - '$ref' => '#/components/schemas/Accesses', - 'required' => true, - ], - 'DelegateAccesses' => [ - '$ref' => '#/components/schemas/Accesses', - 'required' => true, - ], - 'Principal' => [ - '$ref' => '#/components/schemas/Principal', - 'required' => true, - ], - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateCatalogSettings' => [ - 'path' => '/api/metastore/catalogs/settings', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'Search' => [ + 'path' => '/api/metastore/catalogs/search', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -5974,222 +3428,139 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'CatalogId' => [ - 'type' => 'string', + 'CatalogId' => ['type' => 'string', 'required' => false], + 'SearchText' => ['type' => 'string', 'required' => false], + 'SortCriteria' => [ + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/SortCriterion', 'required' => false], ], - 'CatalogSettings' => [ - '$ref' => '#/components/schemas/CatalogSettings', + 'PageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'PageNumber' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'SearchType' => [ + 'type' => 'string', 'required' => false, + 'enum' => ['table', 'all', 'database'], ], ], ], ], ], ], - 'GetRole' => [ - 'path' => '/api/metastore/auth/roles', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SearchAcrossCatalog' => [ + 'path' => '/api/metastore/catalogs/search/search-across-catalog', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RoleName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'SearchText' => ['type' => 'string', 'required' => false], + 'SortCriteria' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/SortCriterion', 'required' => false], + ], + 'PageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'PageNumber' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'CatalogIds' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + 'SearchTypes' => ['$ref' => '#/components/schemas/ListString', 'required' => false], + ], ], ], ], ], - 'ListRoles' => [ - 'path' => '/api/metastore/auth/roles/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StopMigrationWorkflow' => [ + 'path' => '/webapi/migration/workflow/stop', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'NextPageToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'RoleNamePattern', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListRoleUsers' => [ - 'path' => '/api/metastore/auth/roles/roleusers', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SubmitQuery' => [ + 'path' => '/webapi/query/submitQueryRequestBody', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RoleName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'UserNamePattern', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'NextPageToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'sql' => ['type' => 'string', 'required' => false], + 'workspaceId' => ['type' => 'string', 'required' => false], + 'catalogId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListUserRoles' => [ - 'path' => '/api/metastore/auth/roles/userroles', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UnLock' => [ + 'path' => '/api/metastore/catalogs/databases/tables/locks', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PrincipalArn', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'RoleNamePattern', + 'name' => 'LockId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'NextPageToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'ListPermissions' => [ - 'path' => '/api/metastore/auth/permissions/list', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateCatalog' => [ + 'path' => '/api/metastore/catalogs', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -6200,399 +3571,167 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Principal' => [ - '$ref' => '#/components/schemas/Principal', - 'required' => false, - ], - 'NextPageToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'hive', - ], - ], - 'MetaResource' => [ - '$ref' => '#/components/schemas/MetaResource', - 'required' => false, - ], - 'IsListUserRolePermissions' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'MetaResourceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'CatalogId' => [ - 'type' => 'string', - 'required' => false, - ], + 'CatalogInput' => ['$ref' => '#/components/schemas/CatalogInput', 'required' => true], ], ], ], ], ], - 'CheckPermissions' => [ - 'path' => '/api/metastore/auth/permissions/check', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateCatalogSettings' => [ + 'path' => '/api/metastore/catalogs/settings', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Body', + 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - '$ref' => '#/components/schemas/AccessRequest', - 'required' => false, - ], - ], - ], - ], - 'GetCatalogSettings' => [ - 'path' => '/api/metastore/catalogs/settings', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetQueryResult' => [ - 'path' => '/webapi/query/getQueryResult', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'QueryId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'CatalogSettings' => ['$ref' => '#/components/schemas/CatalogSettings', 'required' => false], + ], ], ], ], ], - 'SubmitQuery' => [ - 'path' => '/webapi/query/submitQueryRequestBody', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateDatabase' => [ + 'path' => '/api/metastore/catalogs/databases', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', + 'name' => 'Body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'sql' => [ - 'type' => 'string', - 'required' => false, - ], - 'workspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'catalogId' => [ - 'type' => 'string', - 'required' => false, - ], + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseInput' => ['$ref' => '#/components/schemas/DatabaseInput', 'required' => false], + 'Name' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CancelQuery' => [ - 'path' => '/webapi/query/cancelQuery', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateFunction' => [ + 'path' => '/api/metastore/catalogs/databases/functions', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'QueryId', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'FunctionInput' => ['$ref' => '#/components/schemas/FunctionInput', 'required' => false], + 'FunctionName' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'GetRegionStatus' => [ - 'path' => '/webapi/service/getRegionStatus', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'GetServiceStatus' => [ - 'path' => '/webapi/service/getServiceStatus', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdatePartitionColumnStatistics' => [ + 'path' => '/api/metastore/catalogs/databases/tables/partitions/columnstatistics', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DescribeRegions' => [ - 'path' => '/webapi/service/describeRegions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'name' => 'UpdateTablePartitionColumnStatisticsRequest', + 'in' => 'body', + 'style' => 'flat', + 'schema' => ['$ref' => '#/components/schemas/UpdateTablePartitionColumnStatisticsRequest', 'required' => false], ], ], - 'deprecated' => false, - 'parameters' => [], ], - 'SearchAcrossCatalog' => [ - 'path' => '/api/metastore/catalogs/search/search-across-catalog', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdatePermissions' => [ + 'path' => '/api/metastore/auth/permissions/', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', + 'name' => 'Body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'SearchText' => [ + 'Type' => [ 'type' => 'string', - 'required' => false, - ], - 'SortCriteria' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/SortCriterion', - 'required' => false, - ], - ], - 'PageSize' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'PageNumber' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'CatalogIds' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, - ], - 'SearchTypes' => [ - '$ref' => '#/components/schemas/ListString', - 'required' => false, + 'required' => true, + 'enum' => ['hive'], ], + 'MetaResource' => ['$ref' => '#/components/schemas/MetaResource', 'required' => true], + 'Accesses' => ['$ref' => '#/components/schemas/Accesses', 'required' => true], + 'DelegateAccesses' => ['$ref' => '#/components/schemas/Accesses', 'required' => true], + 'Principal' => ['$ref' => '#/components/schemas/Principal', 'required' => true], + 'CatalogId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'RegisterLocation' => [ + 'UpdateRegisteredLocation' => [ 'path' => '/webapi/locations', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -6603,75 +3742,25 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Location' => [ - 'type' => 'string', - 'required' => true, - ], - 'RoleName' => [ - 'type' => 'string', - 'required' => true, - ], - 'InventoryCollectEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'OssLogCollectEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'LocationId' => ['type' => 'string', 'required' => true], + 'InventoryCollectEnabled' => ['type' => 'boolean', 'required' => false], + 'OssLogCollectEnabled' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'DeregisterLocation' => [ - 'path' => '/webapi/locations', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [], - 'produces' => [], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'LocationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'UpdateRegisteredLocation' => [ - 'path' => '/webapi/locations', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateRole' => [ + 'path' => '/api/metastore/auth/roles', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -6682,226 +3771,104 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'LocationId' => [ - 'type' => 'string', - 'required' => true, - ], - 'InventoryCollectEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'OssLogCollectEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'RoleName' => ['type' => 'string', 'required' => false], + 'RoleInput' => ['$ref' => '#/components/schemas/RoleInput', 'required' => false], ], ], ], ], ], - 'ListPartitionsByExpr' => [ - 'path' => '/api/metastore/catalogs/databases/tables/partitions/listbyexpr', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateRoleUsers' => [ + 'path' => '/api/metastore/auth/updateroleusers', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, - 'parameters' => [], - ], - 'GetDatabaseProfile' => [ - 'path' => '/webapi/metastorehouse/catalog/database/databaseprofile', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - ], - ], - [ - 'name' => 'DatabaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, + 'properties' => [ + 'RoleName' => ['type' => 'string', 'required' => false], + 'Users' => ['$ref' => '#/components/schemas/Principals', 'required' => false], + ], ], ], ], ], - 'GetLifecycleRule' => [ - 'path' => '/webapi/metastorehouse/lifecycle/rule/getLifecycleRule', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateTable' => [ + 'path' => '/api/metastore/catalogs/databases/tables', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ResourceName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'BizId', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'CatalogId' => ['type' => 'string', 'required' => false], + 'DatabaseName' => ['type' => 'string', 'required' => false], + 'SkipArchive' => ['type' => 'boolean', 'required' => false], + 'TableInput' => ['$ref' => '#/components/schemas/TableInput', 'required' => false], + 'TableName' => ['type' => 'string', 'required' => false], + 'IsAsync' => ['type' => 'boolean', 'required' => false], + 'AllowPartitionKeyChange' => ['type' => 'boolean', 'required' => false], + ], ], ], ], ], - 'ListPartitionsProfile' => [ - 'path' => '/webapi/metastorehouse/catalog/database/tableprofile/partitionprofile/listPartitionsProfile', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateTableColumnStatistics' => [ + 'path' => '/api/metastore/catalogs/databases/tables/columnstatistics', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CatalogId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'DatabaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PartitionNames', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'UpdateTablePartitionColumnStatisticsRequest', + 'in' => 'body', + 'style' => 'flat', + 'schema' => ['$ref' => '#/components/schemas/UpdateTablePartitionColumnStatisticsRequest', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'dlf.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'dlf.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'dlf.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'dlf.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'dlf.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'dlf.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'dlf.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'dlf.us-east-1.aliyuncs.com', - ], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dlf.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dlf.ap-southeast-1.aliyuncs.com', 'vpc' => 'datalake-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dlf.cn-beijing.aliyuncs.com', 'endpoint' => 'dlf.cn-beijing.aliyuncs.com', 'vpc' => 'datalake-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dlf.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dlf.cn-hangzhou.aliyuncs.com', 'vpc' => 'datalake-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dlf.cn-shanghai.aliyuncs.com', 'endpoint' => 'dlf.cn-shanghai.aliyuncs.com', 'vpc' => 'datalake-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dlf.cn-shenzhen.aliyuncs.com', 'endpoint' => 'dlf.cn-shenzhen.aliyuncs.com', 'vpc' => 'datalake-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dlf.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'dlf.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'datalake-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dlf.us-east-1.aliyuncs.com', 'endpoint' => 'dlf.us-east-1.aliyuncs.com', 'vpc' => 'dlf-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dlf.eu-central-1.aliyuncs.com', 'endpoint' => 'dlf.eu-central-1.aliyuncs.com', 'vpc' => 'datalake-vpc.eu-central-1.aliyuncs.com'], ], ]; |
