[GLUTEN-10056][FLINK] Support function split_index #235
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| name: Gluten Flink Github Runner | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/flink.yml' | |
| - 'gluten-flink/**' | |
| env: | |
| MAVEN_OPTS: >- | |
| -Xmx2g | |
| --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED | |
| --add-opens=java.base/sun.nio.ch=org.apache.arrow.memory.core,ALL-UNNAMED | |
| --add-opens=java.base/java.lang=ALL-UNNAMED | |
| --add-opens=java.base/java.lang.invoke=ALL-UNNAMED | |
| --add-opens=java.base/java.lang.reflect=ALL-UNNAMED | |
| --add-opens=java.base/java.io=ALL-UNNAMED | |
| --add-opens=java.base/java.net=ALL-UNNAMED | |
| --add-opens=java.base/java.util=ALL-UNNAMED | |
| --add-opens=java.base/java.util.concurrent=ALL-UNNAMED | |
| --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | |
| --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED | |
| JAVA_TOOL_OPTIONS: >- | |
| --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED | |
| --add-opens=java.base/sun.nio.ch=org.apache.arrow.memory.core,ALL-UNNAMED | |
| --add-opens=java.base/java.lang=ALL-UNNAMED | |
| --add-opens=java.base/java.lang.invoke=ALL-UNNAMED | |
| --add-opens=java.base/java.lang.reflect=ALL-UNNAMED | |
| --add-opens=java.base/java.io=ALL-UNNAMED | |
| --add-opens=java.base/java.net=ALL-UNNAMED | |
| --add-opens=java.base/java.util=ALL-UNNAMED | |
| --add-opens=java.base/java.util.concurrent=ALL-UNNAMED | |
| --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | |
| --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED | |
| jobs: | |
| flink-test: | |
| runs-on: ubuntu-22.04 | |
| container: apache/gluten:centos-8-jdk17 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Prepare | |
| run: | | |
| source /opt/rh/gcc-toolset-11/enable | |
| sudo dnf install -y patchelf | |
| git clone -b gluten-0530 https://github.com/bigo-sg/velox4j.git | |
| cd velox4j && git reset --hard 0180528e9b98fad22bc9da8a3864d2929ef73eec | |
| git apply $GITHUB_WORKSPACE/gluten-flink/patches/fix-velox4j.patch | |
| mvn clean install -DskipTests -Dgpg.skip -Dspotless.skip=true | |
| cd .. | |
| git clone https://github.com/nexmark/nexmark.git | |
| cd nexmark | |
| mvn clean install -DskipTests | |
| - name: Build Gluten Flink | |
| run: | | |
| cd $GITHUB_WORKSPACE/gluten-flink | |
| mvn clean package -Dmaven.test.skip=true | |
| - name: Run Unit Tests | |
| run: | | |
| cd $GITHUB_WORKSPACE/gluten-flink | |
| mvn test |