Skip to content

Batch Delete Partition

glue_batch_delete_partition R Documentation

Deletes one or more partitions in a batch operation

Description

Deletes one or more partitions in a batch operation.

Usage

glue_batch_delete_partition(CatalogId, DatabaseName, TableName,
  PartitionsToDelete)

Arguments

CatalogId

The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.

DatabaseName

[required] The name of the catalog database in which the table in question resides.

TableName

[required] The name of the table that contains the partitions to be deleted.

PartitionsToDelete

[required] A list of PartitionInput structures that define the partitions to be deleted.

Value

A list with the following syntax:

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

Request syntax

svc$batch_delete_partition(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  PartitionsToDelete = list(
    list(
      Values = list(
        "string"
      )
    )
  )
)