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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new dfe7ceeb2 chore(ci): fix Rust workflow (#2232)
dfe7ceeb2 is described below

commit dfe7ceeb282330396f50b363c68ad5d5b630edc8
Author: Matthijs Brobbel <[email protected]>
AuthorDate: Wed Oct 9 01:46:04 2024 +0200

    chore(ci): fix Rust workflow (#2232)
    
    This step fails on `main` because the `build` directory does not exist.
    This was added in #2208, but never ran because the `native-unix` job was
    failing because of flaky tests.
---
 .github/workflows/rust.yml      |  3 ++-
 rust/core/src/driver_manager.rs | 10 ++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 9a367ea5d..7ceea3c56 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -78,7 +78,8 @@ jobs:
         shell: bash -l {0}
         run: |
           cd
-          tar xvf ~/local.tgz -C ${{ github.workspace }}/build
+          mkdir -p ${{ github.workspace }}/build
+          tar xvf ~/local.tgz -C ${{ github.workspace }}/build 
--strip-components=1
       - name: Set dynamic linker path
         if: matrix.os == 'ubuntu-latest'
         run: |
diff --git a/rust/core/src/driver_manager.rs b/rust/core/src/driver_manager.rs
index 25015a2bd..ca0d53a63 100644
--- a/rust/core/src/driver_manager.rs
+++ b/rust/core/src/driver_manager.rs
@@ -44,12 +44,10 @@
 //!
 //! ```rust
 //! # use std::sync::Arc;
-//! # use arrow::{
-//! #     array::{Array, StringArray, Int64Array, Float64Array},
-//! #     record_batch::{RecordBatch, RecordBatchReader},
-//! #     datatypes::{Field, Schema, DataType},
-//! #     compute::concat_batches,
-//! # };
+//! # use arrow_array::{Array, StringArray, Int64Array, Float64Array};
+//! # use arrow_array::{RecordBatch, RecordBatchReader};
+//! # use arrow_schema::{Field, Schema, DataType};
+//! # use arrow_select::concat::concat_batches;
 //! # use adbc_core::{
 //! #     driver_manager::ManagedDriver,
 //! #     options::{AdbcVersion, OptionDatabase, OptionStatement},

Reply via email to