This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch sedonadb-duckdb-nightly
in repository https://gitbox.apache.org/repos/asf/sedona-spatialbench.git

commit 6102561d1b65cde55ef5edd9229b7a442a40d93c
Author: Jia Yu <[email protected]>
AuthorDate: Mon Jan 19 14:27:49 2026 -0800

    Add DuckDB and SedonaDB nighly support
---
 .github/workflows/benchmark.yml | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index a68289c..0035cbb 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -68,6 +68,16 @@ on:
           - '1'
           - '3'
           - '5'
+      sedonadb_nightly:
+        description: 'Use SedonaDB nightly build from Gemfury (ignores version 
if true)'
+        required: false
+        default: true
+        type: boolean
+      duckdb_nightly:
+        description: 'Use DuckDB pre-release/nightly build (ignores version if 
true)'
+        required: false
+        default: true
+        type: boolean
 
 concurrency:
   group: ${{ github.repository }}-${{ github.ref }}-benchmark
@@ -84,6 +94,9 @@ env:
   DUCKDB_VERSION: ${{ github.event.inputs.duckdb_version }}
   GEOPANDAS_VERSION: ${{ github.event.inputs.geopandas_version }}
   SPATIAL_POLARS_VERSION: ${{ github.event.inputs.spatial_polars_version }}
+  # Nightly build options (default: true)
+  SEDONADB_NIGHTLY: ${{ github.event.inputs.sedonadb_nightly || 'true' }}
+  DUCKDB_NIGHTLY: ${{ github.event.inputs.duckdb_nightly || 'true' }}
   # Hugging Face dataset for benchmark data
   HF_DATASET: apache-sedona/spatialbench
   HF_DATA_VERSION: v0.1.0
@@ -194,7 +207,13 @@ jobs:
       
       - name: Install dependencies
         run: |
-          if [ -n "${{ env.DUCKDB_VERSION }}" ]; then
+          echo "=== DuckDB Installation Parameters ==="
+          echo "DUCKDB_NIGHTLY: ${{ env.DUCKDB_NIGHTLY }}"
+          echo "DUCKDB_VERSION: ${{ env.DUCKDB_VERSION }}"
+          echo "======================================"
+          if [ "${{ env.DUCKDB_NIGHTLY }}" = "true" ]; then
+            pip install duckdb --pre --upgrade pyarrow pandas
+          elif [ -n "${{ env.DUCKDB_VERSION }}" ]; then
             pip install "duckdb==${{ env.DUCKDB_VERSION }}" pyarrow pandas
           else
             pip install duckdb pyarrow pandas
@@ -290,7 +309,13 @@ jobs:
       
       - name: Install dependencies
         run: |
-          if [ -n "${{ env.SEDONADB_VERSION }}" ]; then
+          echo "=== SedonaDB Installation Parameters ==="
+          echo "SEDONADB_NIGHTLY: ${{ env.SEDONADB_NIGHTLY }}"
+          echo "SEDONADB_VERSION: ${{ env.SEDONADB_VERSION }}"
+          echo "========================================"
+          if [ "${{ env.SEDONADB_NIGHTLY }}" = "true" ]; then
+            pip install "sedonadb[geopandas]" pandas pyarrow pyproj 
--extra-index-url https://repo.fury.io/sedona-nightlies/
+          elif [ -n "${{ env.SEDONADB_VERSION }}" ]; then
             pip install "sedonadb[geopandas]==${{ env.SEDONADB_VERSION }}" 
pandas pyarrow pyproj
           else
             pip install "sedonadb[geopandas]" pandas pyarrow pyproj

Reply via email to