BRAMANTHYO ANDRIAN
← All work

Extending an in-house PySpark framework with Iceberg best practices

Contributor and maintainer of a shared PySpark framework: two Iceberg merge requests merged with no breaking changes, a streaming mode in progress.

Framework contributor and maintainer

2
Iceberg merge requests merged, 8 and 23 October 2026
24
new tests, with the 43 legacy tests untouched and green
0
breaking changes

Context

The framework is used by several data-engineering teams. It separates business logic, infrastructure config and data catalogs, runs under any scheduler and ships ten IO connectors. Two new datamarts needed Iceberg-native writes, and the team wanted a Spark-native alternative to a separate streaming engine.

Role

Contributor and maintainer: author of three merge requests, and one fix on a teammate’s.

Approach

  • Gap analysis first: a spec, a design and an audit of every Iceberg code path against the Apache Iceberg documentation, followed by an independent review.
  • Opt-in configuration keys for partition transforms, table properties, idempotent DDL, the DataFrameWriterV2 writer and post-write compaction and snapshot expiry. Defaults reproduce the old behaviour exactly.
  • A streaming mode (work in progress): a separate entry point, so the batch code stays byte-for-byte unchanged.

Result

Two merge requests were merged on 8 and 23 October 2026 (framework releases 0.2.4.x to 0.2.5.x) and run on pre-production. The streaming merge request is not merged yet and is future work.