Created
March 18, 2024 12:22
-
-
Save Randgalt/dabd023dbb7193b798c71362591f1492 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi" : "3.0.1", | |
"info" : { | |
"title" : "Starburst Galaxy Metastore API", | |
"description" : "# Access Tokens\n\nAccess tokens are obtained using the OAuth2 credentials flow and API authentication tokens.\n\n1. Create an API authentication token at `https://{account-domain}/api-auth-token`\n2. Use the API authentication token to obtain a temporary access token by POST to `https://{account-domain}/oauth/v2/token`. The request must have a Basic Authorization header with the client ID and secret Base64 encoded in the form `clientId:clientSecret`. The request body must be `grant_type=client_credentials`.\n\n`cURL` example:\n\n```\ncurl -X POST \\\n -H 'Authorization: Basic {base64(clientId:clientSecret)}' \\\n -H 'Content-Type: application/x-www-form-urlencoded' \\\n -d 'grant_type=client_credentials' \\\n https://{account-domain}/oauth/v2/token\n```\n\nThe access token returned can be used to make API calls with the header `Authorization: Bearer {access token}`.\n", | |
"version" : "v1" | |
}, | |
"security" : [ { | |
"accessToken" : [ ] | |
} ], | |
"tags" : [ { | |
"name" : "Metastore Service", | |
"description" : "Metastore operations" | |
} ], | |
"paths" : { | |
"/metastore/api/v1/statistics:partition" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "metastore.partitionStatistics", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "partitionName", | |
"description" : "Query filter", | |
"required" : false, | |
"explode" : true, | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"type" : "string" | |
} | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/PartitionNamedStatistics" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "partitionStatistics", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "partitionName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Statistics" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/column:rename" : { | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "renameColumn", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "columnName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/ColumnRename" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/statistics" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "getStatistics", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Statistics" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "updateStatistics", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Statistics" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/table:namesWithParameter" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "nameswithparameterTable", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "parameterKey", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "parameterValue", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/TableName" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/table:all" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "allTable", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "pageToken", | |
"description" : "Pagination Token", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "pageSize", | |
"description" : "Page size or 0 for default (current maximum is 100)", | |
"required" : false, | |
"schema" : { | |
"format" : "int32", | |
"type" : "integer", | |
"nullable" : false | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/PaginatedTable" | |
} | |
} | |
} | |
}, | |
"400" : { | |
"description" : "InvalidArgument", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Badrequest" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/partition" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "getPartition", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "partitionName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Partition" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "updatePartition", | |
"parameters" : [ ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/PartitionWithStatistics" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "createPartition", | |
"parameters" : [ ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/PartitionStatisticsRequest" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "InvalidArgument", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Badrequest" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "deletePartition", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "partitionName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/PartitionName" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/table" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "getTable", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Table" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "updateTable", | |
"parameters" : [ ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Table" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "createTable", | |
"parameters" : [ ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Table" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "InvalidArgument", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Badrequest" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "deleteTable", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/TableName" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/column:comment" : { | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "commentColumn", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "columnName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/ColumnComment" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/partition:byName" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "bynamePartition", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "partitionName", | |
"description" : "Query filter", | |
"required" : false, | |
"explode" : true, | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"type" : "string" | |
} | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/NamedPartition" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/table:rename" : { | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "renameTable", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/TableRename" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/partition:names" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "namesPartition", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/PartitionName" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/table:allNames" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "Retrieve all table names in all databases\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "allnamesTable", | |
"parameters" : [ ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/TableName" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/column" : { | |
"post" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "createColumn", | |
"parameters" : [ ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/NewColumn" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "InvalidArgument", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Badrequest" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "deleteColumn", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "columnName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/ColumnName" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/database:names" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "namesDatabase", | |
"parameters" : [ ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/DatabaseName" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/database" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "Retrieve the named database\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "getDatabase", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Database" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "Create a new database\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "createDatabase", | |
"parameters" : [ ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Database" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "InvalidArgument", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Badrequest" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "Drop the named database\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "deleteDatabase", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/DatabaseName" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/database:rename" : { | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "Rename a database\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "renameDatabase", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/DatabaseRename" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/table:names" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "Retrieve the table names in the named database\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "namesTable", | |
"parameters" : [ { | |
"in" : "query", | |
"name" : "databaseName", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
}, { | |
"in" : "query", | |
"name" : "tableType", | |
"description" : "Query filter", | |
"required" : false, | |
"schema" : { | |
"type" : "string" | |
} | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/TableName" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/table:comment" : { | |
"put" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "TODO\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "commentTable", | |
"parameters" : [ ], | |
"requestBody" : { | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/TableComment" | |
} | |
} | |
}, | |
"required" : true | |
}, | |
"responses" : { | |
"400" : { | |
"description" : "NoLongerAvailable", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"204" : { | |
"description" : "Success" | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"404" : { | |
"description" : "NotFound", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Resourceinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/metastore/api/v1/view:allNames" : { | |
"get" : { | |
"tags" : [ "Metastore Service" ], | |
"description" : "Retrieve all view names in all databases\n\n**BETA API:** This API is subject to incompatible changes, or even removal, in the future.", | |
"operationId" : "allnamesView", | |
"parameters" : [ ], | |
"responses" : { | |
"200" : { | |
"description" : "Success", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/ViewName" | |
} | |
} | |
} | |
} | |
}, | |
"401" : { | |
"description" : "Unauthenticated", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
}, | |
"403" : { | |
"description" : "PermissionDenied", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"$ref" : "#/components/schemas/Errorinfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"components" : { | |
"securitySchemes" : { | |
"accessToken" : { | |
"type" : "http", | |
"name" : "Authorization", | |
"in" : "header", | |
"scheme" : "bearer", | |
"bearerFormat" : "Access token" | |
} | |
}, | |
"schemas" : { | |
"FieldViolations" : { | |
"required" : [ "description", "field" ], | |
"properties" : { | |
"field" : { | |
"type" : "string", | |
"description" : "Field name" | |
}, | |
"description" : { | |
"type" : "string", | |
"description" : "Description of the violation" | |
} | |
}, | |
"description" : "Field violations (read only)" | |
}, | |
"PartitionWithStatistics" : { | |
"required" : [ "partition", "statistics" ], | |
"properties" : { | |
"partition" : { | |
"$ref" : "#/components/schemas/Partition" | |
}, | |
"statistics" : { | |
"$ref" : "#/components/schemas/Statistics" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Resourceinfo" : { | |
"required" : [ "description", "resourceName" ], | |
"properties" : { | |
"resourceName" : { | |
"type" : "string", | |
"description" : "Name of the resource (read only)" | |
}, | |
"description" : { | |
"type" : "string", | |
"description" : "Violation description (read only)" | |
} | |
}, | |
"description" : "Resource failure or inconsistency (read only)" | |
}, | |
"BasicStatistics" : { | |
"properties" : { | |
"fileCount" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"rowCount" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"inMemoryDataSizeInBytes" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"onDiskDataSizeInBytes" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"DatabaseRename" : { | |
"required" : [ "newDatabaseName" ], | |
"properties" : { | |
"newDatabaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"NewColumn" : { | |
"required" : [ "columnName", "databaseName", "properties", "tableName", "type" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"tableName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"columnName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"type" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"comment" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"properties" : { | |
"type" : "object", | |
"additionalProperties" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"DataColumns" : { | |
"required" : [ "columnName", "properties", "type" ], | |
"properties" : { | |
"columnName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"type" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"comment" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"properties" : { | |
"type" : "object", | |
"additionalProperties" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"ColumnName" : { | |
"required" : [ "columnName", "databaseName", "tableName" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"tableName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"columnName" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"PartitionStatisticsRequest" : { | |
"required" : [ "partitionWithStatistics" ], | |
"properties" : { | |
"partitionWithStatistics" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/PartitionWithStatistics" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"BooleanStatistics" : { | |
"properties" : { | |
"trueCount" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"falseCount" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Database" : { | |
"required" : [ "databaseName", "parameters" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"location" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"comment" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"parameters" : { | |
"type" : "object", | |
"additionalProperties" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"TableComment" : { | |
"required" : [ "databaseName", "tableName" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"tableName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"comment" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"SortedBy" : { | |
"required" : [ "columnName", "order" ], | |
"properties" : { | |
"columnName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"order" : { | |
"type" : "string", | |
"description" : "TODO", | |
"enum" : [ "Ascending", "Descending" ] | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"BucketProperty" : { | |
"required" : [ "bucketCount", "bucketedBy", "sortedBy" ], | |
"properties" : { | |
"bucketedBy" : { | |
"type" : "array", | |
"items" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"bucketCount" : { | |
"format" : "int32", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"sortedBy" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/SortedBy" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"DecimalStatistics" : { | |
"properties" : { | |
"min" : { | |
"format" : "double", | |
"type" : "number", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"max" : { | |
"format" : "double", | |
"type" : "number", | |
"description" : "TODO", | |
"nullable" : false | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"IntegerStatistics" : { | |
"properties" : { | |
"min" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"max" : { | |
"format" : "int64", | |
"type" : "integer", | |
"description" : "TODO", | |
"nullable" : false | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"PartitionNamedStatistics" : { | |
"required" : [ "partitionName", "statistics" ], | |
"properties" : { | |
"partitionName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"statistics" : { | |
"$ref" : "#/components/schemas/Statistics" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Table" : { | |
"required" : [ "dataColumns", "databaseName", "parameters", "partitionColumns", "storage", "tableName", "tableType" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"tableName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"tableType" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"storage" : { | |
"$ref" : "#/components/schemas/Storage" | |
}, | |
"dataColumns" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/DataColumns" | |
} | |
}, | |
"partitionColumns" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/DataColumns" | |
} | |
}, | |
"parameters" : { | |
"type" : "object", | |
"additionalProperties" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"viewOriginalText" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"viewExpandedText" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"ViewName" : { | |
"required" : [ "databaseName", "viewName" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"viewName" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"TableName" : { | |
"required" : [ "databaseName", "tableName" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"tableName" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"DoubleStatistics" : { | |
"properties" : { | |
"min" : { | |
"format" : "double", | |
"type" : "number", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"max" : { | |
"format" : "double", | |
"type" : "number", | |
"description" : "TODO", | |
"nullable" : false | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Partition" : { | |
"required" : [ "dataColumns", "databaseName", "parameters", "partitionName", "storage", "tableName" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"tableName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"partitionName" : { | |
"$ref" : "#/components/schemas/PartitionName" | |
}, | |
"storage" : { | |
"$ref" : "#/components/schemas/Storage" | |
}, | |
"dataColumns" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/DataColumns" | |
} | |
}, | |
"parameters" : { | |
"type" : "object", | |
"additionalProperties" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"DateStatistics" : { | |
"properties" : { | |
"min" : { | |
"format" : "date", | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"max" : { | |
"format" : "date", | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Badrequest" : { | |
"required" : [ "fieldViolations" ], | |
"properties" : { | |
"fieldViolations" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/FieldViolations" | |
} | |
} | |
}, | |
"description" : "Invalid request (read only)" | |
}, | |
"ColumnStatistics" : { | |
"required" : [ "columnName", "statistics" ], | |
"properties" : { | |
"columnName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"statistics" : { | |
"$ref" : "#/components/schemas/Statistics" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Statistics" : { | |
"required" : [ "basicStatistics", "columnStatistics" ], | |
"properties" : { | |
"basicStatistics" : { | |
"$ref" : "#/components/schemas/BasicStatistics" | |
}, | |
"columnStatistics" : { | |
"type" : "array", | |
"items" : { | |
"$ref" : "#/components/schemas/ColumnStatistics" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"TableRename" : { | |
"required" : [ "newDatabaseName", "newTableName" ], | |
"properties" : { | |
"newDatabaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"newTableName" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"NamedPartition" : { | |
"required" : [ "partitionName" ], | |
"properties" : { | |
"partitionName" : { | |
"$ref" : "#/components/schemas/PartitionName" | |
}, | |
"partition" : { | |
"$ref" : "#/components/schemas/Partition" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Storage" : { | |
"required" : [ "location", "serdeParameters", "skewed", "storageFormat" ], | |
"properties" : { | |
"storageFormat" : { | |
"$ref" : "#/components/schemas/StorageFormat" | |
}, | |
"location" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"bucketProperty" : { | |
"$ref" : "#/components/schemas/BucketProperty" | |
}, | |
"skewed" : { | |
"type" : "boolean", | |
"description" : "TODO", | |
"nullable" : false | |
}, | |
"serdeParameters" : { | |
"type" : "object", | |
"additionalProperties" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"PartitionName" : { | |
"required" : [ "encodedName", "partitionValues" ], | |
"properties" : { | |
"encodedName" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"partitionValues" : { | |
"type" : "array", | |
"items" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"Errorinfo" : { | |
"required" : [ "metadata", "reason" ], | |
"properties" : { | |
"reason" : { | |
"type" : "string", | |
"description" : "Error reason/detail (read only)" | |
}, | |
"metadata" : { | |
"type" : "object", | |
"additionalProperties" : { | |
"type" : "string", | |
"description" : "Any additional details (read only)" | |
} | |
} | |
}, | |
"description" : "Error (read only)" | |
}, | |
"ColumnComment" : { | |
"properties" : { | |
"comment" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"DatabaseName" : { | |
"required" : [ "databaseName" ], | |
"properties" : { | |
"databaseName" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"PaginatedTable" : { | |
"properties" : { | |
"nextPageToken" : { | |
"type" : "string", | |
"description" : "The next page token to use or \"\" if there are no more pages." | |
}, | |
"result" : { | |
"type" : "array", | |
"description" : "A page of results.", | |
"items" : { | |
"$ref" : "#/components/schemas/Table" | |
} | |
} | |
} | |
}, | |
"ColumnRename" : { | |
"required" : [ "newColumnName" ], | |
"properties" : { | |
"newColumnName" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
}, | |
"StorageFormat" : { | |
"required" : [ "inputFormat", "outputFormat", "serDe" ], | |
"properties" : { | |
"serDe" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"inputFormat" : { | |
"type" : "string", | |
"description" : "TODO" | |
}, | |
"outputFormat" : { | |
"type" : "string", | |
"description" : "TODO" | |
} | |
}, | |
"description" : "TODO" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment