Skip to content

Commit 554dcf8

Browse files
committed
Merge branch 'main' of https://github.com/apache/datafusion-comet into feature/array-position
# Conflicts: # native/spark-expr/src/array_funcs/mod.rs # native/spark-expr/src/comet_scalar_funcs.rs
2 parents 3f7d69d + e77c9bd commit 554dcf8

57 files changed

Lines changed: 2153 additions & 998 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.

.asf.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ github:
4545
main:
4646
required_pull_request_reviews:
4747
required_approving_review_count: 1
48-
48+
pull_requests:
49+
allow_update_branch: true
4950
# publishes the content of the `asf-site` branch to
5051
# https://datafusion.apache.org/comet/
5152
publish:

.github/actions/java-test/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ runs:
120120
MAVEN_OPTS="-Xmx4G -Xms2G -DwildcardSuites=$MAVEN_SUITES -XX:+UnlockDiagnosticVMOptions -XX:+ShowMessageBoxOnError -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=./hs_err_pid%p.log" SPARK_HOME=`pwd` ./mvnw -B -Prelease clean install ${{ inputs.maven_opts }}
121121
- name: Upload crash logs
122122
if: failure()
123-
uses: actions/upload-artifact@v4
123+
uses: actions/upload-artifact@v6
124124
with:
125125
name: crash-logs-${{ inputs.artifact_name }}
126126
path: "**/hs_err_pid*.log"
@@ -134,13 +134,13 @@ runs:
134134
find . -name 'unit-tests.log'
135135
- name: Upload unit-tests.log
136136
if: failure()
137-
uses: actions/upload-artifact@v4
137+
uses: actions/upload-artifact@v6
138138
with:
139139
name: unit-tests-${{ inputs.artifact_name }}
140140
path: "**/target/unit-tests.log"
141141
- name: Upload test results
142142
if: ${{ inputs.upload-test-reports == 'true' }}
143-
uses: actions/upload-artifact@v4
143+
uses: actions/upload-artifact@v6
144144
with:
145145
name: java-test-reports-${{ inputs.artifact_name }}
146146
path: "**/target/surefire-reports/*.txt"

.github/workflows/iceberg_spark_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ concurrency:
2323

2424
on:
2525
push:
26+
branches:
27+
- main
2628
paths-ignore:
2729
- "doc/**"
2830
- "docs/**"

.github/workflows/miri.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,25 @@ name: Run Miri Safety Checks
1919

2020
on:
2121
push:
22+
branches:
23+
- main
2224
paths-ignore:
2325
- "doc/**"
2426
- "docs/**"
2527
- "**.md"
2628
- "native/core/benches/**"
2729
- "native/spark-expr/benches/**"
2830
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
29-
pull_request:
30-
paths-ignore:
31-
- "doc/**"
32-
- "docs/**"
33-
- "**.md"
34-
- "native/core/benches/**"
35-
- "native/spark-expr/benches/**"
36-
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
31+
# Disabled until Miri compatibility is restored
32+
# https://github.com/apache/datafusion-comet/issues/3499
33+
# pull_request:
34+
# paths-ignore:
35+
# - "doc/**"
36+
# - "docs/**"
37+
# - "**.md"
38+
# - "native/core/benches/**"
39+
# - "native/spark-expr/benches/**"
40+
# - "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
3741
# manual trigger
3842
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
3943
workflow_dispatch:

.github/workflows/pr_benchmark_check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ concurrency:
2626

2727
on:
2828
push:
29+
branches:
30+
- main
2931
paths:
3032
- "native/core/benches/**"
3133
- "native/spark-expr/benches/**"

.github/workflows/pr_build_linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ concurrency:
2323

2424
on:
2525
push:
26+
branches:
27+
- main
2628
paths-ignore:
2729
- "doc/**"
2830
- "docs/**"

.github/workflows/pr_build_macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ concurrency:
2323

2424
on:
2525
push:
26+
branches:
27+
- main
2628
paths-ignore:
2729
- "doc/**"
2830
- "docs/**"

.github/workflows/spark_sql_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ concurrency:
2323

2424
on:
2525
push:
26+
branches:
27+
- main
2628
paths-ignore:
2729
- "doc/**"
2830
- "docs/**"

.github/workflows/stale.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: "Close stale PRs"
19+
on:
20+
schedule:
21+
- cron: "30 1 * * *"
22+
23+
jobs:
24+
close-stale-prs:
25+
runs-on: ubuntu-latest
26+
permissions:
27+
issues: write
28+
pull-requests: write
29+
steps:
30+
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
31+
with:
32+
stale-pr-message: "Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days."
33+
days-before-pr-stale: 60
34+
days-before-pr-close: 7
35+
# do not close stale issues
36+
days-before-issue-stale: -1
37+
days-before-issue-close: -1
38+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)