Skip to content

[VL] Support partial fallback generic unmapped catalyst expressions #12486

Open
taiyang-li wants to merge 2 commits into
apache:mainfrom
taiyang-li:liyang/fallback-generic-unmapped-catalyst-expr
Open

[VL] Support partial fallback generic unmapped catalyst expressions #12486
taiyang-li wants to merge 2 commits into
apache:mainfrom
taiyang-li:liyang/fallback-generic-unmapped-catalyst-expr

Conversation

@taiyang-li

@taiyang-li taiyang-li commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

ColumnarPartialProject previously did not recognize generic unmapped catalyst expressions shipped in user jars. When such a custom catalyst expression was not registered in ExpressionMappings, it was not identified for partial-project fallback and could still reach native expression conversion and fail at runtime.

This patch makes Velox detect those generic unmapped catalyst expressions earlier and route them through ColumnarPartialProject fallback. ScalaUDF and Hive UDF keep using their existing dedicated paths instead of being folded into the generic fallback path.

How was this patch tested?

  • Added a Velox unit test with a custom DummyUnmappedExpr in UDFPartialProjectSuite

Does this PR introduce any user-facing change?

No.

Was this patch authored or co-authored using generative AI tooling?

Yes.
Generated-by: OpenAI GPT-5

…l project

Support custom catalyst expressions from user jars in ColumnarPartialProject when Velox cannot map them natively, while keeping ScalaUDF and HiveUDF on their existing fallback paths.
@github-actions github-actions Bot added the VELOX label Jul 9, 2026
@taiyang-li taiyang-li changed the title [MINOR][VL] Fallback generic unmapped catalyst expressions via partial project [VL] Support partial fallback generic unmapped catalyst expressions Jul 9, 2026
@taiyang-li taiyang-li requested a review from WangGuangxin July 9, 2026 12:34
Keep the new generic unmapped catalyst expression note concise while preserving the intent of the fallback behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant