apache / apache/gluten

[FLINK] Switch gluten-flink entrypoint to velox4j FLINK preset

Closed Beginner friendly
#12,457 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 21h
Merged PRs (30d)
85

Description

### Description

gluten-flink initializes velox4j via `Velox4j.initialize()` in `TaskManagerRunner`. velox4j historically only shipped a `SPARK` preset, so gluten-flink inherited Spark function semantics.

velox4j now adds a sibling `FLINK` preset (bigo-sg/velox4j#54), backed by `velox/functions/flinksql/`. The default remains `SPARK`, so gluten-flink must explicitly opt in via `Velox4j.configure(Preset.KEY, Preset.FLINK)` before `Velox4j.initialize()`.

### Gluten version

main branch

Contributor guide

Open the contributing guide

Research direction

Start by reading the gluten-flink entrypoint in TaskManagerRunner and trace the existing Velox4j initialization. Done means the FLINK preset is explicitly configured before initialization, with the gluten-flink tests or build passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.