Skip to content

[WIP] Add cache-only Gandiva construction for tiered compilation - #162

Draft
StevenMPhillips wants to merge 1 commit into
dremio:dremio_27.0_23_19from
StevenMPhillips:codex/gandiva-cache-only
Draft

StevenMPhillips wants to merge 1 commit into
dremio:dremio_27.0_23_19from
StevenMPhillips:codex/gandiva-cache-only

Conversation

@StevenMPhillips

@StevenMPhillips StevenMPhillips commented Nov 13, 2026 •

Copy link
Copy Markdown

Add cache-only Gandiva projector and filter construction so callers can reuse optimized machine code without triggering a compilation. A cache miss returns an empty result; regular construction remains unchanged.

This is the prerequisite for delayed/tiered Dremio compilation, split from the flat CASE work in #155. It contains no flat CASE implementation and is based on dremio_27.0_23_19.

Validation: the patch cherry-picked cleanly onto the current Dremio release branch; projector/filter cache-hit and cache-miss tests are included. The same API patch was previously validated in the combined CASE/cache stack; the independent branch has not had a fresh native build yet.

WIP: independently reviewable API dependency; Java/JNI companion PR will be linked here.

Java/JNI companion: dremio/arrow-java#44

Dremio tiering consumer: https://github.com/dremio/dremio/pull/31385

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant