You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0d74468
Browse filesBrowse the repository at this point in the historyBrowse files
fix(format): address second-round review (flush serialization, pool, validation, CI deps)
- Serialize host OutputStream access between the Vortex writer task and a
caller-thread Flush(): VortexOutputContext gains a stream mutex and a
FlushStream() entry, and VortexFormatWriter::Flush() plus the write/flush
callbacks all take it, so Write and Flush can no longer interleave on a stream
with no concurrent-access contract. The remaining internally buffered data is
drained when the sink closes in Finish().
- Thread the caller's Arrow memory pool into VortexFormatWriter (Create now takes
it and the builder passes GetArrowPool(pool_)), so sliced-batch rebasing
allocates from the Paimon pool instead of Arrow's default pool.
- Validate Vortex-incompatible schema types wherever Vortex can be selected
(default file format, file.format-per-level, changelog-file.format), mirroring
the Lance validation, instead of only the default format.
- setup_flatc.sh: install libclang before the flatc early-exit, so an environment
that already has a matching flatc but lacks libclang no longer silently skips
the bindgen build dependency.
- Tests: FlushBetweenBatchesThenRead (flush interleaved with background writes)
and SchemaValidationTest.TestVortexDataTypes (per-level/changelog validation).
0 commit comments