Retrieves partitions in a batch request¶
Description¶
Retrieves partitions in a batch request.
Usage¶
glue_batch_get_partition(CatalogId, DatabaseName, TableName,
PartitionsToGet, AuditContext, QuerySessionContext)
Arguments¶
-
CatalogIdThe ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.
-
DatabaseName[required] The name of the catalog database where the partitions reside.
-
TableName[required] The name of the partitions' table.
-
PartitionsToGet[required] A list of partition values identifying the partitions to retrieve.
-
AuditContextA structure containing the Lake Formation audit context.
-
QuerySessionContextA structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.
For more information about how to utilize QuerySessionContext, see Lake Formation workflow for application integration API operations in the developer guide.
Value¶
A list with the following syntax:
list(
Partitions = list(
list(
Values = list(
"string"
),
DatabaseName = "string",
TableName = "string",
CreationTime = as.POSIXct(
"2015-01-01"
),
LastAccessTime = as.POSIXct(
"2015-01-01"
),
StorageDescriptor = list(
Columns = list(
list(
Name = "string",
Type = "string",
Comment = "string",
Parameters = list(
"string"
)
)
),
Location = "string",
AdditionalLocations = list(
"string"
),
InputFormat = "string",
OutputFormat = "string",
Compressed = TRUE|FALSE,
NumberOfBuckets = 123,
SerdeInfo = list(
Name = "string",
SerializationLibrary = "string",
Parameters = list(
"string"
)
),
BucketColumns = list(
"string"
),
SortColumns = list(
list(
Column = "string",
SortOrder = 123
)
),
Parameters = list(
"string"
),
SkewedInfo = list(
SkewedColumnNames = list(
"string"
),
SkewedColumnValues = list(
"string"
),
SkewedColumnValueLocationMaps = list(
"string"
)
),
StoredAsSubDirectories = TRUE|FALSE,
SchemaReference = list(
SchemaId = list(
SchemaArn = "string",
SchemaName = "string",
RegistryName = "string"
),
SchemaVersionId = "string",
SchemaVersionNumber = 123
)
),
Parameters = list(
"string"
),
LastAnalyzedTime = as.POSIXct(
"2015-01-01"
),
CatalogId = "string"
)
),
UnprocessedKeys = list(
list(
Values = list(
"string"
)
)
)
)
Request syntax¶
svc$batch_get_partition(
CatalogId = "string",
DatabaseName = "string",
TableName = "string",
PartitionsToGet = list(
list(
Values = list(
"string"
)
)
),
AuditContext = list(
AdditionalAuditContext = "string",
RequestedColumns = list(
"string"
),
AllColumnsRequested = TRUE|FALSE
),
QuerySessionContext = list(
QueryId = "string",
QueryStartTime = as.POSIXct(
"2015-01-01"
),
ClusterId = "string",
QueryAuthorizationId = "string",
AdditionalContext = list(
"string"
)
)
)