Skip to content

MigrationCompactionSettings

Source code in docs_src/capo_s3tables/types/migration_compaction_settings.py
class MigrationCompactionSettings(TypedDict, closed=True):
    target_file_size_mb: (
        "capo_s3tables.types.migration_target_file_size_mb.MigrationTargetFileSizeMB"
    )
    """<p>The target size, from 64 to 512 MB, of the data files that the migration writes, and of the files that compaction writes after you complete the migration. The default is 512.</p>"""
    strategy: (
        "capo_s3tables.types.iceberg_compaction_strategy.IcebergCompactionStrategy"
    )
    """<p>The compaction strategy. The only valid value is <code>binpack</code>, which is the default. The request fails if you specify <code>auto</code>, <code>sort</code>, or <code>z-order</code>.</p>"""

strategy instance-attribute

The compaction strategy. The only valid value is binpack, which is the default. The request fails if you specify auto, sort, or z-order.

target_file_size_mb instance-attribute

target_file_size_mb: MigrationTargetFileSizeMB

The target size, from 64 to 512 MB, of the data files that the migration writes, and of the files that compaction writes after you complete the migration. The default is 512.