From 8e800056860fe65e4ea4467f9484117f0afea907 Mon Sep 17 00:00:00 2001 From: clarkzinzow Date: Sat, 13 May 2023 19:53:11 -0500 Subject: [PATCH] Upgrade Arrow2 dependency with casting update. --- Cargo.lock | 2 +- src/array/pseudo_arrow/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4dde8b2d67..db604350f6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -42,7 +42,7 @@ dependencies = [ [[package]] name = "arrow2" version = "0.17.1" -source = "git+https://github.com/Eventual-Inc/arrow2?branch=clark/expand-casting-support#0fb8f5eb6707957e832fd28ac0ce381d9b23d521" +source = "git+https://github.com/Eventual-Inc/arrow2?branch=clark/expand-casting-support#2ace8097342d5634746915b094c5a3cdf53f75b9" dependencies = [ "ahash", "arrow-format", diff --git a/src/array/pseudo_arrow/mod.rs b/src/array/pseudo_arrow/mod.rs index 54755d37ec..15211ec527 100644 --- a/src/array/pseudo_arrow/mod.rs +++ b/src/array/pseudo_arrow/mod.rs @@ -314,7 +314,7 @@ impl Array for PseudoArrowArray { .unwrap_or(0) } - fn to_type(&self, _: DataType) -> Box { - panic!("not implemented"); + fn change_type(&mut self, _: arrow2::datatypes::DataType) { + unimplemented!("PseudoArray doesn't hold a data type and therefore does not support the change_type API.") } }