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

fengzhang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git


The following commit(s) were added to refs/heads/main by this push:
     new 68970b02 fix: require comfy-table 7.2+ for set_truncation_indicator 
method (#486)
68970b02 is described below

commit 68970b02ffb289a9c9166ca9599bb0fc468eb797
Author: Feng Zhang <[email protected]>
AuthorDate: Tue Jan 6 09:15:24 2026 -0800

    fix: require comfy-table 7.2+ for set_truncation_indicator method (#486)
---
 .github/workflows/examples.yml    | 11 ++++++++++-
 Cargo.toml                        |  2 +-
 examples/sedonadb-rust/Cargo.toml |  2 +-
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml
index 95ac4914..263e75d8 100644
--- a/.github/workflows/examples.yml
+++ b/.github/workflows/examples.yml
@@ -76,6 +76,15 @@ jobs:
       - name: Build and run examples/sedonadb-rust
         shell: bash
         run: |
-          rm -rf Cargo.toml
           cd examples/sedonadb-rust
+          # Use current PR/branch commit instead of main branch
+          if [ -n "${{ github.event.pull_request.head.sha }}" ]; then
+            REV="${{ github.event.pull_request.head.sha }}"
+            REPO="${{ github.event.pull_request.head.repo.full_name }}"
+          else
+            REV="${{ github.sha }}"
+            REPO="apache/sedona-db"
+          fi
+          sed -i "s|git = \"https://github.com/apache/sedona-db.git\";|git = 
\"https://github.com/${REPO}.git\";, rev = \"${REV}\"|" Cargo.toml
+          cat Cargo.toml
           cargo run
diff --git a/Cargo.toml b/Cargo.toml
index d272d46e..85c86da0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -75,7 +75,7 @@ bytemuck = "1.14"
 bytes = "1.10"
 byteorder = "1"
 chrono = { version = "0.4.41", default-features = false }
-comfy-table = { version = "7" }
+comfy-table = { version = "7.2" }
 criterion = { version = "0.8", features = ["html_reports"] }
 datafusion = { version = "51.0.0", default-features = false }
 datafusion-catalog = { version = "51.0.0" }
diff --git a/examples/sedonadb-rust/Cargo.toml 
b/examples/sedonadb-rust/Cargo.toml
index e2f3b221..2e3169b7 100644
--- a/examples/sedonadb-rust/Cargo.toml
+++ b/examples/sedonadb-rust/Cargo.toml
@@ -30,7 +30,7 @@ rust-version = "1.86"
 [workspace]
 
 [dependencies]
-datafusion = { version = "50.2.0"}
+datafusion = { version = "51.0.0"}
 # When sedona is released on crates.io, this can be a version and not a git 
repo
 sedona = { git = "https://github.com/apache/sedona-db.git";, package = "sedona"}
 tokio = { version = "1.44", features = ["rt-multi-thread"]}

Reply via email to