r/dataengineering • u/sebzontek • 13h ago
Blog StarRocks 4.2 preview: default changes for shared-data clusters and Iceberg MERGE INTO
Disclosure: I work at Deep.BI, where we support StarRocks, and a colleague wrote this.
4.2 isn't released yet, but a few things in branch-4.2 are worth knowing before you plan the upgrade:
- New tables created without DISTRIBUTED BY get range distribution by default on shared-data clusters.
- Iceberg tables get UPDATE and MERGE INTO, so some upsert jobs that run in Spark today could move to StarRocks. Only format version 2 tables with Parquet files are supported.
- Several CNs can write to one tablet, which helps large backfills into new partitions.
Is anyone here already moving Spark upsert jobs on Iceberg to another engine? Curious what's held you back.
3
Upvotes
1
u/DuckDatum 9h ago
I run Spark upsert jobs on iceberg tables. I mostly just wrote the job to accept args for its source location and target location, and it otherwise deterministically applies the upsert from parquet change event files to iceberg tables.
I run jobs to rewrite history, prune old snapshots, and compact every 30 days. Given I only run the job once a day, that’s held up so far.
Why would I be considering a move to any other engine?