Skip to content

Commit 2b0f8ad

Browse files
Merge branch 'datafusion-contrib:main' into gene.bordegaray/2025/11/add_broadcast_join_operator
2 parents f8faad2 + 97a9809 commit 2b0f8ad

File tree

164 files changed

+17990
-3519
lines changed

Some content is hidden

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

164 files changed

+17990
-3519
lines changed

.github/actions/setup/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ inputs:
1212
runs:
1313
using: 'composite'
1414
steps:
15+
- name: Free up disk space
16+
shell: bash
17+
run: ${{ github.action_path }}/free_disk_space.sh
1518
- shell: bash
1619
run: |
1720
echo $HOME
@@ -26,3 +29,4 @@ runs:
2629
- uses: Swatinem/rust-cache@v2
2730
with:
2831
key: ${{ runner.os }}-${{ inputs.targets }}-rust-cache
32+
prefix-key: v1-rust
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
# Script to free up disk space on CI systems
4+
# Source: https://github.com/apache/flink/blob/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh
5+
6+
echo "Freeing up disk space on CI system"
7+
8+
echo "Listing 100 largest packages"
9+
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
10+
df -h
11+
12+
echo "Removing large packages"
13+
sudo apt-get remove -y '^ghc-8.*'
14+
sudo apt-get remove -y '^dotnet-.*'
15+
sudo apt-get remove -y '^llvm-.*'
16+
sudo apt-get remove -y 'php.*'
17+
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel
18+
sudo apt-get autoremove -y
19+
sudo apt-get clean
20+
df -h
21+
22+
echo "Removing large directories"
23+
rm -rf /usr/share/dotnet/
24+
df -h

.github/workflows/ci.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,20 @@ on:
99
env:
1010
CARGO_TERM_COLOR: always
1111
RUST_BACKTRACE: 1
12+
TPCDS_SCALE_FACTOR: 0.5 # 0.5 scale factor produces a data dir which is 124MB
1213

1314
concurrency:
1415
group: ${{ github.ref }}
1516
cancel-in-progress: true
1617

1718
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: ./.github/actions/setup
24+
- run: cargo build
25+
1826
clippy:
1927
runs-on: ubuntu-latest
2028
steps:
@@ -38,7 +46,24 @@ jobs:
3846
steps:
3947
- uses: actions/checkout@v4
4048
- uses: ./.github/actions/setup
41-
- run: cargo test --features tpch --test tpch_validation_test
49+
- run: cargo test --features tpch --test 'tpch_*'
50+
51+
tpcds-test:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@v4
55+
with:
56+
lfs: true
57+
- uses: ./.github/actions/setup
58+
- name: Install DuckDB CLI
59+
run: |
60+
curl https://install.duckdb.org | sh
61+
mkdir -p $HOME/.local/bin
62+
mv /home/runner/.duckdb/cli/latest/duckdb $HOME/.local/bin/
63+
echo "$HOME/.local/bin" >> $GITHUB_PATH
64+
- name: Run TPC-DS test
65+
id: test
66+
run: cargo test --features tpcds --test tpcds_test
4267

4368
format-check:
4469
runs-on: ubuntu-latest

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/.idea
22
/target
33
/benchmarks/data/
4-
testdata/tpch/data/
4+
testdata/tpch/*
5+
!testdata/tpch/queries
6+
testdata/tpcds/data/

0 commit comments

Comments
 (0)