Skip to content

add unit test coverage for the Python IcebergTableWriter #7575

Closed

Description

@eugenegujing

Task Summary

amber/src/main/python/core/storage/iceberg/iceberg_table_writer.py is the buffered append-only writer used by the Python engine to persist tuples to Iceberg tables: it buffers items up to a configurable buffer_size, flushes them as Arrow tables, and wraps each Iceberg commit in a retry loop (table.refresh() then table.append(), up to 10 attempts) to survive concurrent-commit conflicts.

The class has no spec of its own. Its only test-tree coverage is incidental: test_state_materialization_e2e.py drives a real writer against a local catalog on the happy path, and test_iceberg_document.py requires a live Postgres catalog.

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Activity

  1. added a commit that references this issue on Aug 13, 2026
    6f56024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions