{
  "after": {
    "data_file_count": 2,
    "data_manifest_count": 25,
    "delete_manifest_count": 24,
    "live_data_manifest_count": 1,
    "manifest_count": 1,
    "manifest_size_bytes": 371344,
    "max_file_size_bytes": 8461,
    "median_file_size_bytes": 6614.5,
    "min_file_size_bytes": 4768,
    "planned_file_scan_tasks": 2,
    "planning_latency_ms": 44.572,
    "planning_repetitions": 7,
    "snapshot_id": 2237021677520843401,
    "snapshot_manifest_count": 49,
    "table": "lab_iceberg.cdc_lab.orders_current",
    "total_data_file_size_bytes": 13229
  },
  "after_data_rewrite": {
    "data_file_count": 2,
    "data_manifest_count": 25,
    "delete_manifest_count": 24,
    "live_data_manifest_count": 1,
    "manifest_count": 1,
    "manifest_size_bytes": 371344,
    "max_file_size_bytes": 8461,
    "median_file_size_bytes": 6614.5,
    "min_file_size_bytes": 4768,
    "planned_file_scan_tasks": 2,
    "planning_latency_ms": 37.745,
    "planning_repetitions": 7,
    "snapshot_id": 2059566574289558414,
    "snapshot_manifest_count": 49,
    "table": "lab_iceberg.cdc_lab.orders_current",
    "total_data_file_size_bytes": 13229
  },
  "artifact": "Iceberg small-file rewrite_data_files evidence",
  "before": {
    "data_file_count": 48,
    "data_manifest_count": 24,
    "delete_manifest_count": 24,
    "live_data_manifest_count": 24,
    "manifest_count": 24,
    "manifest_size_bytes": 363573,
    "max_file_size_bytes": 2936,
    "median_file_size_bytes": 2809.0,
    "min_file_size_bytes": 2668,
    "planned_file_scan_tasks": 48,
    "planning_latency_ms": 54.92,
    "planning_repetitions": 7,
    "snapshot_id": 1404106653580124562,
    "snapshot_manifest_count": 48,
    "table": "lab_iceberg.cdc_lab.orders_current",
    "total_data_file_size_bytes": 134798
  },
  "chart": "showcase/media/phase-2.2-small-file-rewrite.svg",
  "checks": {
    "data_file_count_decreased": true,
    "manifest_count_decreased": true,
    "median_file_size_increased": true,
    "planning_latency_decreased": true
  },
  "command": "make small-file-rewrite",
  "deltas": {
    "data_file_count": -46.0,
    "manifest_count": -23.0,
    "median_file_size_bytes": 3805.5,
    "planning_latency_ms": -10.347999999999999
  },
  "finished_at": "2026-05-27T15:57:13Z",
  "git_sha": "ad7ad52a0ff8",
  "logs": "showcase/logs/phase-2.2-small-file-rewrite.log",
  "maintenance_scope": "Iceberg small-file management on orders_current; StarRocks ingestion and Primary Key table maintenance are not involved.",
  "phase": "2.2",
  "reader": "Iceberg Java metadata scan for files/manifests; Flink SQL batch for row count",
  "resource_profile": "small",
  "rewrite_data_files": {
    "action": "rewrite_data_files",
    "added_data_files_count": 2,
    "max_parallelism": 2,
    "rewritten_bytes_count": 134798,
    "rewritten_data_files_count": 48,
    "target_file_size_bytes": 134217728
  },
  "rewrite_manifests": {
    "action": "rewrite_manifests",
    "live_manifest_count_after": 1,
    "live_manifest_count_before": 1,
    "ran": true,
    "snapshot_manifest_count_after": 49,
    "snapshot_manifest_count_before": 49
  },
  "run_id": "20260527T155713Z-a88e18f6",
  "scenario": {
    "batches": 24,
    "checkpoint_interval_ms": 500,
    "manifest_merge_min_count": 10000,
    "planning_repetitions": 7,
    "rewrite_target_file_size_bytes": 134217728,
    "rows_per_batch": 24,
    "small_write_target_file_size_bytes": 16384,
    "timeout_seconds": 420,
    "total_rows": 576
  },
  "stack_versions": {
    "flink": "1.20.4",
    "flink_cdc": "3.6.0",
    "iceberg": "1.10.x",
    "java": "11",
    "maven": "3.9",
    "minio": "RELEASE.2025-04-22T22-12-26Z",
    "mysql": "8.0.36",
    "node": "20",
    "python": "3.11",
    "starrocks": "3.3.x (M3+)"
  },
  "started_at": "2026-05-27T15:55:18Z",
  "summary": {
    "data_file_count_decreased": true,
    "manifest_count_decreased": true,
    "median_file_size_increased": true,
    "passed": true,
    "planning_latency_decreased": true
  },
  "table": "cdc_lab.orders_current"
}
