Skip to content

Get Table Optimizer

glue_get_table_optimizer R Documentation

Returns the configuration of all optimizers associated with a specified table

Description

Returns the configuration of all optimizers associated with a specified table.

Usage

glue_get_table_optimizer(CatalogId, DatabaseName, TableName, Type)

Arguments

CatalogId

[required] The Catalog ID of the table.

DatabaseName

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

TableName

[required] The name of the table.

Type

[required] The type of table optimizer.

Value

A list with the following syntax:

list(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  TableOptimizer = list(
    type = "compaction",
    configuration = list(
      roleArn = "string",
      enabled = TRUE|FALSE
    ),
    lastRun = list(
      eventType = "starting"|"completed"|"failed"|"in_progress",
      startTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      endTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      metrics = list(
        NumberOfBytesCompacted = "string",
        NumberOfFilesCompacted = "string",
        NumberOfDpus = "string",
        JobDurationInHour = "string"
      ),
      error = "string"
    )
  )
)

Request syntax

svc$get_table_optimizer(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  Type = "compaction"
)