Skip to content

Batch Create Partition

glue_batch_create_partition R Documentation

Creates one or more partitions in a batch operation

Description

Creates one or more partitions in a batch operation.

Usage

glue_batch_create_partition(CatalogId, DatabaseName, TableName,
  PartitionInputList)

Arguments

CatalogId

The ID of the catalog in which the partition is to be created. 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 created.

TableName

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

PartitionInputList

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

Value

A list with the following syntax:

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

Request syntax

svc$batch_create_partition(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  PartitionInputList = list(
    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"
      )
    )
  )
)