Skip to content

List Table Optimizer Runs

glue_list_table_optimizer_runs R Documentation

Lists the history of previous optimizer runs for a specific table

Description

Lists the history of previous optimizer runs for a specific table.

Usage

glue_list_table_optimizer_runs(CatalogId, DatabaseName, TableName, Type,
  MaxResults, NextToken)

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. Currently, the only valid value is compaction.

MaxResults

The maximum number of optimizer runs to return on each call.

NextToken

A continuation token, if this is a continuation call.

Value

A list with the following syntax:

list(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  NextToken = "string",
  TableOptimizerRuns = list(
    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$list_table_optimizer_runs(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  Type = "compaction",
  MaxResults = 123,
  NextToken = "string"
)