Skip to content

Get Unfiltered Partition Metadata

glue_get_unfiltered_partition_metadata R Documentation

Retrieves partition metadata from the Data Catalog that contains unfiltered metadata

Description

Retrieves partition metadata from the Data Catalog that contains unfiltered metadata.

For IAM authorization, the public IAM action associated with this API is glue:GetPartition.

Usage

glue_get_unfiltered_partition_metadata(Region, CatalogId, DatabaseName,
  TableName, PartitionValues, AuditContext, SupportedPermissionTypes,
  QuerySessionContext)

Arguments

Region

Specified only if the base tables belong to a different Amazon Web Services Region.

CatalogId

[required] The catalog ID where the partition resides.

DatabaseName

[required] (Required) Specifies the name of a database that contains the partition.

TableName

[required] (Required) Specifies the name of a table that contains the partition.

PartitionValues

[required] (Required) A list of partition key values.

AuditContext

A structure containing Lake Formation audit context information.

SupportedPermissionTypes

[required] (Required) A list of supported permission types.

QuerySessionContext

A 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.

Value

A list with the following syntax:

list(
  Partition = 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"
  ),
  AuthorizedColumns = list(
    "string"
  ),
  IsRegisteredWithLakeFormation = TRUE|FALSE
)

Request syntax

svc$get_unfiltered_partition_metadata(
  Region = "string",
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  PartitionValues = list(
    "string"
  ),
  AuditContext = list(
    AdditionalAuditContext = "string",
    RequestedColumns = list(
      "string"
    ),
    AllColumnsRequested = TRUE|FALSE
  ),
  SupportedPermissionTypes = list(
    "COLUMN_PERMISSION"|"CELL_FILTER_PERMISSION"|"NESTED_PERMISSION"|"NESTED_CELL_PERMISSION"
  ),
  QuerySessionContext = list(
    QueryId = "string",
    QueryStartTime = as.POSIXct(
      "2015-01-01"
    ),
    ClusterId = "string",
    QueryAuthorizationId = "string",
    AdditionalContext = list(
      "string"
    )
  )
)