Skip to content

Commit dd8803b

Browse files
authored
upgrade to 0.8.1 (#175)
* upgrade to 0.8.1 * fix test
1 parent 42de692 commit dd8803b

File tree

8 files changed

+14
-13
lines changed

8 files changed

+14
-13
lines changed

.github/workflows/rust.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
name: Download duckdb
3939
with:
4040
repository: "duckdb/duckdb"
41-
tag: "v0.8.0"
41+
tag: "v0.8.1"
4242
fileName: ${{ matrix.duckdb }}
4343
out-file-path: .
4444

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "duckdb"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2021"
66
description = "Ergonomic wrapper for DuckDB"
@@ -81,7 +81,7 @@ tempdir = "0.3.7"
8181

8282
[dependencies.libduckdb-sys]
8383
path = "libduckdb-sys"
84-
version = "0.8.0"
84+
version = "0.8.1"
8585

8686
[package.metadata.docs.rs]
8787
features = []

libduckdb-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libduckdb-sys"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2021"
66
build = "build.rs"

libduckdb-sys/duckdb-sources

Submodule duckdb-sources updated 901 files

libduckdb-sys/duckdb.tar.gz

9.3 KB
Binary file not shown.

libduckdb-sys/src/bindgen_bundled_version.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.0 */
22

33
#[repr(C)]
44
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@@ -95,9 +95,9 @@ pub const __DARWIN_UNIX03: u32 = 1;
9595
pub const __DARWIN_64_BIT_INO_T: u32 = 1;
9696
pub const __DARWIN_VERS_1050: u32 = 1;
9797
pub const __DARWIN_NON_CANCELABLE: u32 = 0;
98-
pub const __DARWIN_SUF_64_BIT_INO_T: &[u8; 9usize] = b"$INODE64\0";
99-
pub const __DARWIN_SUF_1050: &[u8; 6usize] = b"$1050\0";
100-
pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0";
98+
pub const __DARWIN_SUF_64_BIT_INO_T: &[u8; 9] = b"$INODE64\0";
99+
pub const __DARWIN_SUF_1050: &[u8; 6] = b"$1050\0";
100+
pub const __DARWIN_SUF_EXTSN: &[u8; 14] = b"$DARWIN_EXTSN\0";
101101
pub const __DARWIN_C_ANSI: u32 = 4096;
102102
pub const __DARWIN_C_FULL: u32 = 900000;
103103
pub const __DARWIN_C_LEVEL: u32 = 900000;

libduckdb-sys/upgrade.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ export DUCKDB_LIB_DIR="$SCRIPT_DIR/duckdb"
1010
export DU_INCLUDE_DIR="$DUCKDB_LIB_DIR"
1111

1212
# Download and extract amalgamation
13-
DUCKDB_VERSION=v0.8.0
13+
DUCKDB_VERSION=v0.8.1
1414
git submodule update --init --checkout
1515
cd "$SCRIPT_DIR/duckdb-sources" || { echo "fatal error" >&2; exit 1; }
16-
git checkout "$DUCKDB_VERSION"
16+
git fetch
17+
git switch "$DUCKDB_VERSION"
1718
cd "$SCRIPT_DIR" || { echo "fatal error" >&2; exit 1; }
1819
python3 "$SCRIPT_DIR/update_sources.py"
1920

src/vtab/excel.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl VTab for ExcelVTab {
191191
#[cfg(test)]
192192
mod test {
193193
use crate::{vtab::excel::ExcelVTab, Connection, Result};
194-
use arrow::array::{Array, Date32Array, Float64Array, LargeStringArray};
194+
use arrow::array::{Array, Date32Array, Float64Array, StringArray};
195195
use std::error::Error;
196196

197197
#[test]
@@ -215,7 +215,7 @@ mod test {
215215
let mut arr = stmt.query_arrow([])?;
216216
let rb = arr.next().expect("no record batch");
217217
assert_eq!(rb.num_rows(), 4);
218-
let column = rb.column(0).as_any().downcast_ref::<LargeStringArray>().unwrap();
218+
let column = rb.column(0).as_any().downcast_ref::<StringArray>().unwrap();
219219
assert_eq!(column.len(), 4);
220220
assert_eq!(column.value(0), "Action");
221221
assert_eq!(column.value(1), "Adventure");

0 commit comments

Comments
 (0)