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.

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",
      compactionMetrics = list(
        IcebergMetrics = list(
          NumberOfBytesCompacted = 123,
          NumberOfFilesCompacted = 123,
          NumberOfDpus = 123,
          JobDurationInHour = 123.0
        )
      ),
      retentionMetrics = list(
        IcebergMetrics = list(
          NumberOfDataFilesDeleted = 123,
          NumberOfManifestFilesDeleted = 123,
          NumberOfManifestListsDeleted = 123,
          NumberOfDpus = 123,
          JobDurationInHour = 123.0
        )
      ),
      orphanFileDeletionMetrics = list(
        IcebergMetrics = list(
          NumberOfOrphanFilesDeleted = 123,
          NumberOfDpus = 123,
          JobDurationInHour = 123.0
        )
      )
    )
  )
)

Request syntax

svc$list_table_optimizer_runs(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  Type = "compaction"|"retention"|"orphan_file_deletion",
  MaxResults = 123,
  NextToken = "string"
)