Skip to content

Create Table Optimizer

glue_create_table_optimizer R Documentation

Creates a new table optimizer for a specific function

Description

Creates a new table optimizer for a specific function. compaction is the only currently supported optimizer type.

Usage

glue_create_table_optimizer(CatalogId, DatabaseName, TableName, Type,
  TableOptimizerConfiguration)

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.

TableOptimizerConfiguration

[required] A TableOptimizerConfiguration object representing the configuration of a table optimizer.

Value

An empty list.

Request syntax

svc$create_table_optimizer(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  Type = "compaction",
  TableOptimizerConfiguration = list(
    roleArn = "string",
    enabled = TRUE|FALSE
  )
)