Skip to content

Commit 31b5b0d

Browse files
Mohammad LinjawiMohammad Linjawi
authored andcommitted
Merge upstream/main into split/delta-dv-java-scan-handoff-pr-clean
Resolved conflicts in: - gluten-delta/src/main/scala/org/apache/gluten/execution/DeltaScanTransformer.scala - gluten-delta/src/main/scala/org/apache/gluten/extension/DeltaPostTransformRules.scala Accepted upstream changes which include: - New scanFilters override for Delta column-mapping support - New doValidateInternal override for deletion vector validation - Updated transformColumnMappingPlan with improved documentation and logic
2 parents 64e4992 + 9202345 commit 31b5b0d

116 files changed

Lines changed: 2598 additions & 1629 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/flink.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,18 @@ jobs:
5959
run: |
6060
source /opt/rh/gcc-toolset-11/enable
6161
sudo dnf install -y patchelf
62-
sudo yum install https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/tzdata-2025a-1.el9.noarch.rpm -y
62+
sudo yum install https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/tzdata-2026a-1.el9.noarch.rpm -y
6363
sudo .github/workflows/util/install-flink-deps.sh
64+
# Remove system fmt v11 from the CI image to avoid header conflicts with
65+
# velox bundled fmt 10.x during folly/velox native compilation.
66+
sudo rm -rf /usr/local/include/fmt
67+
sudo rm -rf /usr/local/lib/cmake/fmt
68+
sudo rm -f /usr/local/lib/libfmt* /usr/local/lib64/libfmt*
69+
export VELOX_DEPENDENCY_SOURCE=BUNDLED
70+
export fmt_SOURCE=BUNDLED
71+
export folly_SOURCE=BUNDLED
6472
git clone -b gluten-0530 https://github.com/bigo-sg/velox4j.git
65-
cd velox4j && git reset --hard 889bafcf2fa04e8c31a30edbdf40fe203ef58484
73+
cd velox4j && git reset --hard 115edf79d265a61c30d45dfcc6ce932ad92378ca
6674
git apply $GITHUB_WORKSPACE/gluten-flink/patches/fix-velox4j.patch
6775
$GITHUB_WORKSPACE/build/mvn clean install -DskipTests -Dgpg.skip -Dspotless.skip=true
6876
cd ..

.github/workflows/util/install-spark-resources.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
118118
4.0)
119119
# Spark-4.0, scala 2.12 // using 2.12 as a hack as 4.0 does not have 2.13 suffix
120120
cd ${INSTALL_DIR} && \
121-
install_spark "4.0.1" "3" "2.12"
121+
install_spark "4.0.2" "3" "2.12"
122122
mv /opt/shims/spark40/spark_home/assembly/target/scala-2.12 /opt/shims/spark40/spark_home/assembly/target/scala-2.13
123123
;;
124124
4.1)

.github/workflows/velox_backend_ansi.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ jobs:
124124
ccache -sz
125125
bash dev/ci-velox-buildstatic-centos-7.sh
126126
ccache -s
127-
mkdir -p /work/.m2/repository/org/apache/arrow/
128-
cp -r /root/.m2/repository/org/apache/arrow/* /work/.m2/repository/org/apache/arrow/
129127
"
130128
- name: Save ccache
131129
if: always()
@@ -138,11 +136,6 @@ jobs:
138136
name: velox-native-lib-ansi-${{github.sha}}
139137
path: ./cpp/build/
140138
if-no-files-found: error
141-
- uses: actions/upload-artifact@v4
142-
with:
143-
name: arrow-jars-ansi-${{github.sha}}
144-
path: .m2/repository/org/apache/arrow/
145-
if-no-files-found: error
146139

147140
spark-test-backends-velox-ansi41:
148141
needs: build-native-lib
@@ -159,11 +152,6 @@ jobs:
159152
with:
160153
name: velox-native-lib-ansi-${{github.sha}}
161154
path: ./cpp/build/
162-
- name: Download Arrow Jars
163-
uses: actions/download-artifact@v4
164-
with:
165-
name: arrow-jars-ansi-${{github.sha}}
166-
path: /root/.m2/repository/org/apache/arrow/
167155
- name: Prepare
168156
run: |
169157
dnf install -y python3.11 python3.11-pip python3.11-devel && \
@@ -236,11 +224,6 @@ jobs:
236224
with:
237225
name: velox-native-lib-ansi-${{github.sha}}
238226
path: ./cpp/build/
239-
- name: Download Arrow Jars
240-
uses: actions/download-artifact@v4
241-
with:
242-
name: arrow-jars-ansi-${{github.sha}}
243-
path: /root/.m2/repository/org/apache/arrow/
244227
- name: Prepare
245228
run: |
246229
dnf install -y python3.11 python3.11-pip python3.11-devel && \
@@ -323,11 +306,6 @@ jobs:
323306
with:
324307
name: velox-native-lib-ansi-${{github.sha}}
325308
path: ./cpp/build/
326-
- name: Download Arrow Jars
327-
uses: actions/download-artifact@v4
328-
with:
329-
name: arrow-jars-ansi-${{github.sha}}
330-
path: /root/.m2/repository/org/apache/arrow/
331309
- name: Prepare
332310
run: |
333311
dnf install -y python3.11 python3.11-pip python3.11-devel && \
@@ -400,11 +378,6 @@ jobs:
400378
with:
401379
name: velox-native-lib-ansi-${{github.sha}}
402380
path: ./cpp/build/
403-
- name: Download Arrow Jars
404-
uses: actions/download-artifact@v4
405-
with:
406-
name: arrow-jars-ansi-${{github.sha}}
407-
path: /root/.m2/repository/org/apache/arrow/
408381
- name: Prepare
409382
run: |
410383
dnf install -y python3.11 python3.11-pip python3.11-devel && \

.github/workflows/velox_backend_arm.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ jobs:
6868
df -a
6969
bash dev/ci-velox-buildstatic-centos-9.sh
7070
ccache -s
71-
mkdir -p $GITHUB_WORKSPACE/.m2/repository/org/apache/arrow/
72-
cp -r /root/.m2/repository/org/apache/arrow/* $GITHUB_WORKSPACE/.m2/repository/org/apache/arrow/
7371
- name: "Save ccache"
7472
uses: actions/cache/save@v4
7573
id: ccache
@@ -81,11 +79,6 @@ jobs:
8179
name: velox-native-lib-centos-8-${{github.sha}}
8280
path: ./cpp/build/releases/
8381
if-no-files-found: error
84-
- uses: actions/upload-artifact@v4
85-
with:
86-
name: arrow-jars-centos-8-${{github.sha}}
87-
path: .m2/repository/org/apache/arrow/
88-
if-no-files-found: error
8982

9083
tpc-test-centos8:
9184
needs: build-native-lib-centos-8
@@ -104,11 +97,6 @@ jobs:
10497
with:
10598
name: velox-native-lib-centos-8-${{github.sha}}
10699
path: ./cpp/build/releases/
107-
- name: Download All Arrow Jar Artifacts
108-
uses: actions/download-artifact@v4
109-
with:
110-
name: arrow-jars-centos-8-${{github.sha}}
111-
path: /root/.m2/repository/org/apache/arrow/
112100
- name: Update mirror list
113101
run: |
114102
sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* || true
@@ -150,7 +138,6 @@ jobs:
150138
- name: Build Gluten native libraries
151139
run: |
152140
df -a
153-
sed -i "s|gflags_static|gflags_shared|g" /usr/local/lib/cmake/folly/folly-targets.cmake # TODO: remove after upgrading folly to 2024.09.30 or later which has fixed the gflags linkage issue
154141
bash dev/ci-velox-buildshared-centos-9.sh
155142
ccache -s
156143
- name: Run CPP unit test

.github/workflows/velox_backend_enhanced.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ jobs:
7575
mkdir -p /work/.ccache
7676
bash dev/ci-velox-buildstatic-centos-7-enhanced-features.sh
7777
ccache -s
78-
mkdir -p /work/.m2/repository/org/apache/arrow/
79-
cp -r /root/.m2/repository/org/apache/arrow/* /work/.m2/repository/org/apache/arrow/
8078
"
8179
8280
- name: "Save ccache"
@@ -90,11 +88,6 @@ jobs:
9088
name: velox-native-lib-enhanced-centos-7-${{github.sha}}
9189
path: ./cpp/build/releases/
9290
if-no-files-found: error
93-
- uses: actions/upload-artifact@v4
94-
with:
95-
name: arrow-jars-enhanced-centos-7-${{github.sha}}
96-
path: .m2/repository/org/apache/arrow/
97-
if-no-files-found: error
9891

9992
spark-test-spark34:
10093
needs: build-native-lib-centos-7
@@ -107,11 +100,6 @@ jobs:
107100
with:
108101
name: velox-native-lib-enhanced-centos-7-${{github.sha}}
109102
path: ./cpp/build/releases
110-
- name: Download Arrow Jars
111-
uses: actions/download-artifact@v4
112-
with:
113-
name: arrow-jars-enhanced-centos-7-${{github.sha}}
114-
path: /root/.m2/repository/org/apache/arrow/
115103
- name: Prepare spark.test.home for Spark 3.4.4 (other tests)
116104
run: |
117105
dnf module -y install python39 && \
@@ -165,11 +153,6 @@ jobs:
165153
with:
166154
name: velox-native-lib-enhanced-centos-7-${{github.sha}}
167155
path: ./cpp/build/releases
168-
- name: Download Arrow Jars
169-
uses: actions/download-artifact@v4
170-
with:
171-
name: arrow-jars-enhanced-centos-7-${{github.sha}}
172-
path: /root/.m2/repository/org/apache/arrow/
173156
- name: Prepare spark.test.home for Spark 3.5.5 (other tests)
174157
run: |
175158
dnf module -y install python39 && \
@@ -226,11 +209,6 @@ jobs:
226209
with:
227210
name: velox-native-lib-enhanced-centos-7-${{github.sha}}
228211
path: ./cpp/build/releases
229-
- name: Download Arrow Jars
230-
uses: actions/download-artifact@v4
231-
with:
232-
name: arrow-jars-enhanced-centos-7-${{github.sha}}
233-
path: /root/.m2/repository/org/apache/arrow/
234212
- name: Prepare Spark Resources for Spark 3.5.5 #TODO remove after image update
235213
run: |
236214
rm -rf /opt/shims/spark35
@@ -277,11 +255,6 @@ jobs:
277255
with:
278256
name: velox-native-lib-enhanced-centos-7-${{github.sha}}
279257
path: ./cpp/build/releases/
280-
- name: Download Arrow Jars
281-
uses: actions/download-artifact@v4
282-
with:
283-
name: arrow-jars-enhanced-centos-7-${{github.sha}}
284-
path: /root/.m2/repository/org/apache/arrow/
285258
- name: Prepare
286259
run: |
287260
dnf module -y install python39 && \

0 commit comments

Comments
 (0)