Use the native frame format for row sets and lookup caches
DecisionVerified 30 Sep 2026Holds project: dftracer-utils
Decision. The context, the choice, why, and the options that were turned down.
Context#
Internal row-set and lookup-cache storage must work when Arrow and Arrow IPC are disabled.
Decision#
Use frame_to_native, based on the spill format plus magic and version, in every build. ROWSET extension version 2 marks old Arrow IPC row sets stale so an index build replaces them. Remove the aggregation-tier reader's Arrow guard because that reader uses no Arrow; its old stub returned no tier.
Why#
The native store keeps Arrow at the boundary and reuses the existing serializer. Inbox 9c311bac11 records the choice. Transcript 8397caa9dd reports the no-Arrow suite after the change.
Rejected options#
Do not disable these features when Arrow is off. Do not add a second serializer under index/.
Also found by searching
- row set cache fails or returns nothing when built with Arrow IPC disabled
- lookup cache and row sets need Arrow even though the rest of the engine runs without it
- what storage format should internal row sets and lookup caches use in no-Arrow builds
- frame_to_native spill format magic version, ROWSET extension version 2 marks old Arrow IPC stale
- row set and lookup cache fail when Arrow IPC is disabled in the build
- what format should internal rowset storage use so it works without Arrow
- stale ROWSET extension version 1 Arrow IPC row sets after switching format, does index rebuild replace them
- frame_to_native spill format with magic and version instead of arrow ipc, aggregation tier reader returns no tier