Skip to content

Core: Add Vortex format to Iceberg - #15915

Open
robert3005 wants to merge 53 commits into
apache:mainfrom
spiraldb:main
Open

Core: Add Vortex format to Iceberg#15915
robert3005 wants to merge 53 commits into
apache:mainfrom
spiraldb:main

Conversation

@robert3005

@robert3005 robert3005 commented Apr 8, 2026

Copy link
Copy Markdown

Vortex integration in Iceberg, follow up to blog post. The only actual code change in iceberg ends up being extending the FileFormat enum with additional variant

a10y and others added 30 commits March 25, 2026 11:42
If either half of an OR is an unconvertible expression,
we reduce the entire filter to an ALWAYS_TRUE, which means
that no filtering is pushed down.

This was discovered by the TPC-DS query

```
select * from customer_address
where
  (ca_country = 'United States' AND ca_state IN( 'SC', 'IN', 'VA'))
  OR
  (ca_country = 'United States' AND ca_state IN( 'WA', 'KS', 'KY'))
```

The IN expression is not currently pushable, but we can fix that by
implementing it in Vortex.
* fix: properly close native resources in Vortex scans

* fix system closing

* format, bump vortex dep

* bump vortex to correct release

* remove print
Signed-off-by: Robert Kruszewski <github@robertk.io>
@github-actions github-actions Bot removed the AZURE label May 11, 2026
robert3005 and others added 19 commits May 25, 2026 23:11
Add generic end-to-tend tests for Vortex
Signed-off-by: Robert Kruszewski <github@robertk.io>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Support case inensitive table scans, and enable TestLocalScan for Vortex
…mn (#31)

Support row-idx pushdown into Vortex scans matching the metadata column
Add support for position deletes in Vortex

Pushes position deletes into the Vortex scan so deleted rows are excluded natively instead of being read and filtered out afterwards.

DeleteFilter exposes the deleted positions for pushdown (skipped when the _is_deleted column is projected, since those rows must be marked rather than removed). GenericReader forwards them only when the reader advertises support via the new ReadBuilder.supportsPositionDeletes(), so Parquet/ORC/Avro keep applying deletes post-scan. VortexIterable serializes the positions as a portable 64-bit Roaring bitmap and applies EXCLUDE_ROARING row selection.

Also adds a Vortex position-delete writer (PositionDeleteVortexWriter, VortexFormatModel.forPositionDeletes) for writing path/pos delete files, plus TestVortexPositionDeletes.
Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 changed the title [WIP] Core: Add Vortex format to Iceberg Core: Add Vortex format to Iceberg Aug 12, 2026
@robert3005
robert3005 marked this pull request as ready for review August 12, 2026 18:41
@jmakov

jmakov commented Aug 25, 2026

Copy link
Copy Markdown

Any ETA on this?

@robert3005

Copy link
Copy Markdown
Author

There's ongoing discussion on what the process of adding new fileformats should be, once that's settled we can hopefully get this merged. The implementation here is fully functional if you want to use it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants