Skip to content

Batch Update Partition

glue_batch_update_partition R Documentation

Updates one or more partitions in a batch operation

Description

Updates one or more partitions in a batch operation.

Usage

glue_batch_update_partition(CatalogId, DatabaseName, TableName, Entries)

Arguments

CatalogId

The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.

DatabaseName

[required] The name of the metadata database in which the partition is to be updated.

TableName

[required] The name of the metadata table in which the partition is to be updated.

Entries

[required] A list of up to 100 BatchUpdatePartitionRequestEntry objects to update.

Value

A list with the following syntax:

list(
  Errors = list(
    list(
      PartitionValueList = list(
        "string"
      ),
      ErrorDetail = list(
        ErrorCode = "string",
        ErrorMessage = "string"
      )
    )
  )
)

Request syntax

svc$batch_update_partition(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  Entries = list(
    list(
      PartitionValueList = list(
        "string"
      ),
      PartitionInput = list(
        Values = list(
          "string"
        ),
        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"
        )
      )
    )
  )
)