Skip to content

Commit

Permalink
Revert "[GLUTEN-5414] [VL] Support arrow csv option and schema (apach…
Browse files Browse the repository at this point in the history
…e#5850)"

This reverts commit ad817ed.
  • Loading branch information
WangGuangxin committed Jun 23, 2024
1 parent 1e06169 commit d8380a4
Show file tree
Hide file tree
Showing 30 changed files with 313 additions and 1,474 deletions.
72 changes: 16 additions & 56 deletions .github/workflows/velox_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,16 @@ jobs:
id: cache
uses: actions/cache/restore@v3
with:
path: |
./cpp/build/releases/
~/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases/
key: cache-velox-build-${{ hashFiles('./cache-key') }}
- name: Build Gluten Velox third party
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: |
source dev/ci-velox-buildstatic.sh
- name: Upload Artifact Native
uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v2
with:
path: ./cpp/build/releases/
name: velox-native-lib-centos-7-${{github.sha}}
- name: Upload Artifact Arrow Jar
uses: actions/upload-artifact@v2
with:
path: /root/.m2/repository/org/apache/arrow/
name: velox-arrow-jar-centos-7-${{github.sha}}

run-tpc-test-ubuntu:
needs: build-native-lib-centos-7
Expand Down Expand Up @@ -110,16 +102,11 @@ jobs:
container: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Download All Native Artifacts
- name: Download All Artifacts
uses: actions/download-artifact@v2
with:
name: velox-native-lib-centos-7-${{github.sha}}
path: ./cpp/build/releases/
- name: Download All Arrow Jar Artifacts
uses: actions/download-artifact@v2
with:
name: velox-arrow-jar-centos-7-${{github.sha}}
path: /root/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases
- name: Setup java and maven
run: |
if [ "${{ matrix.java }}" = "java-17" ]; then
Expand All @@ -131,7 +118,7 @@ jobs:
apt-get update && apt-get install -y openjdk-8-jdk maven
apt remove openjdk-11* -y
fi
ls -l /root/.m2/repository/org/apache/arrow/arrow-dataset/15.0.0-gluten/
apt remove openjdk-11* -y
- name: Build and run TPCH/DS
run: |
cd $GITHUB_WORKSPACE/
Expand Down Expand Up @@ -175,16 +162,11 @@ jobs:
container: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Download All Native Artifacts
- name: Download All Artifacts
uses: actions/download-artifact@v2
with:
name: velox-native-lib-centos-7-${{github.sha}}
path: ./cpp/build/releases/
- name: Download All Arrow Jar Artifacts
uses: actions/download-artifact@v2
with:
name: velox-arrow-jar-centos-7-${{github.sha}}
path: /root/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases
- name: Update mirror list
if: matrix.os == 'centos:8'
run: |
Expand Down Expand Up @@ -259,16 +241,11 @@ jobs:
sudo docker image prune --all --force > /dev/null
df -h
- uses: actions/checkout@v2
- name: Download All Native Artifacts
- name: Download All Artifacts
uses: actions/download-artifact@v2
with:
name: velox-native-lib-centos-7-${{github.sha}}
path: ./cpp/build/releases/
- name: Download All Arrow Jar Artifacts
uses: actions/download-artifact@v2
with:
name: velox-arrow-jar-centos-7-${{github.sha}}
path: /home/runner/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases
- name: Setup java and maven
run: |
sudo apt-get update
Expand Down Expand Up @@ -361,16 +338,11 @@ jobs:
sudo docker image prune --all --force > /dev/null
df -h
- uses: actions/checkout@v2
- name: Download All Native Artifacts
- name: Download All Artifacts
uses: actions/download-artifact@v2
with:
name: velox-native-lib-centos-7-${{github.sha}}
path: ./cpp/build/releases/
- name: Download All Arrow Jar Artifacts
uses: actions/download-artifact@v2
with:
name: velox-arrow-jar-centos-7-${{github.sha}}
path: /home/runner/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases
- name: Setup java and maven
run: |
sudo apt-get update
Expand Down Expand Up @@ -454,16 +426,11 @@ jobs:
container: centos:8
steps:
- uses: actions/checkout@v2
- name: Download All Native Artifacts
- name: Download All Artifacts
uses: actions/download-artifact@v2
with:
name: velox-native-lib-centos-7-${{github.sha}}
path: ./cpp/build/releases/
- name: Download All Arrow Jar Artifacts
uses: actions/download-artifact@v2
with:
name: velox-arrow-jar-centos-7-${{github.sha}}
path: /root/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases
- name: Update mirror list
run: |
sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* || true
Expand Down Expand Up @@ -520,16 +487,11 @@ jobs:
container: ubuntu:22.04
steps:
- uses: actions/checkout@v2
- name: Download All Native Artifacts
- name: Download All Artifacts
uses: actions/download-artifact@v2
with:
name: velox-native-lib-centos-7-${{github.sha}}
path: ./cpp/build/releases/
- name: Download All Arrow Jar Artifacts
uses: actions/download-artifact@v2
with:
name: velox-arrow-jar-centos-7-${{github.sha}}
path: /root/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases
- name: Setup java and maven
run: |
apt-get update && apt-get install -y openjdk-8-jdk maven wget
Expand Down Expand Up @@ -571,9 +533,7 @@ jobs:
id: cache
uses: actions/cache/restore@v3
with:
path: |
./cpp/build/releases/
/root/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases/
key: cache-velox-build-centos-8-${{ hashFiles('./cache-key') }}
- name: Update mirror list
run: |
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/velox_docker_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:
uses: actions/cache/restore@v3
with:
lookup-only: true
path: |
./cpp/build/releases/
/root/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases/
key: cache-velox-build-${{ hashFiles('./cache-key') }}
- name: Build Gluten Velox third party
if: steps.check-cache.outputs.cache-hit != 'true'
Expand All @@ -51,9 +49,7 @@ jobs:
id: cache
uses: actions/cache/save@v3
with:
path: |
./cpp/build/releases/
/root/.m2/repository/org/apache/arrow/
path: ./cpp/build/releases/
key: cache-velox-build-${{ hashFiles('./cache-key') }}

# ccache-native-lib-ubuntu-velox-ut:
Expand Down
Loading

0 comments on commit d8380a4

Please sign in to comment.