TableOptimizer
¶
Source code in docs_src/capo_glue/types/table_optimizer.py
configuration
instance-attribute
¶
configuration: NotRequired[TableOptimizerConfiguration]
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
configuration_source
instance-attribute
¶
configuration_source: NotRequired[ConfigurationSource]
Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.
last_run
instance-attribute
¶
last_run: NotRequired[TableOptimizerRun]
A TableOptimizerRun object representing the last run of the table optimizer.
type
instance-attribute
¶
type: NotRequired[TableOptimizerType]
The type of table optimizer. The valid values are:
-
compaction: for managing compaction with a table optimizer. -
retention: for managing the retention of snapshot with a table optimizer. -
orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.