Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/flink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ jobs:
export VELOX_DEPENDENCY_SOURCE=BUNDLED
export fmt_SOURCE=BUNDLED
export folly_SOURCE=BUNDLED
git clone -b feature/watermark-status-propagation https://github.com/bigo-sg/velox4j.git
cd velox4j && git reset --hard 6e2046f
git clone -b feat/flink-preset https://github.com/ggjh-159/velox4j.git
cd velox4j
git apply $GITHUB_WORKSPACE/gluten-flink/patches/fix-velox4j.patch
$GITHUB_WORKSPACE/build/mvn clean install -DskipTests -Dgpg.skip -Dspotless.skip=true
cd ..
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,9 @@ public static void runTaskManagerProcessSecurely(Configuration configuration) {

StateChangelogStorageLoader.initialize(pluginManager);
// --- Begin Gluten-specific code changes ---
Velox4j.configure(
io.github.zhztheplayer.velox4j.config.Preset.KEY,
io.github.zhztheplayer.velox4j.config.Preset.FLINK);
Velox4j.initialize();
// --- End Gluten-specific code changes ---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
package org.apache.gluten.table.runtime.stream.common;

import io.github.zhztheplayer.velox4j.Velox4j;
import io.github.zhztheplayer.velox4j.config.Preset;

public class Velox4jEnvironment {
private static class Holder {
private static final Velox4jEnvironment INSTANCE = new Velox4jEnvironment();
}

private Velox4jEnvironment() {
Velox4j.configure(Preset.KEY, Preset.FLINK);
Velox4j.initialize();
}

Expand Down
Loading