You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by dh...@apache.org on 2021/09/05 10:21:24 UTC

[arrow-rs] branch master updated: Upgrade lexical-core to 0.8 (#748)

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

dheres pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new c4e20da  Upgrade lexical-core to 0.8 (#748)
c4e20da is described below

commit c4e20da57599167cfe6f6fbbd863dcde1485a555
Author: Daniƫl Heres <da...@gmail.com>
AuthorDate: Sun Sep 5 12:21:16 2021 +0200

    Upgrade lexical-core to 0.8 (#748)
    
    * Upgrade lexical-core
    
    * Use num instead
---
 arrow/Cargo.toml                     | 2 +-
 arrow/src/compute/kernels/boolean.rs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml
index 9dc3e7c..f597c22 100644
--- a/arrow/Cargo.toml
+++ b/arrow/Cargo.toml
@@ -51,7 +51,7 @@ flatbuffers = { version = "=2.0.0", optional = true }
 hex = "0.4"
 comfy-table = { version = "4.0", optional = true, default-features = false }
 pyo3 = { version = "0.14", optional = true }
-lexical-core = "^0.7"
+lexical-core = "^0.8"
 multiversion = "0.6.1"
 bitflags = "1.2.1"
 
diff --git a/arrow/src/compute/kernels/boolean.rs b/arrow/src/compute/kernels/boolean.rs
index 3a315d7..fcd1fb0 100644
--- a/arrow/src/compute/kernels/boolean.rs
+++ b/arrow/src/compute/kernels/boolean.rs
@@ -33,7 +33,7 @@ use crate::datatypes::{ArrowNumericType, DataType};
 use crate::error::{ArrowError, Result};
 use crate::util::bit_util::{ceil, round_upto_multiple_of_64};
 use core::iter;
-use lexical_core::Integer;
+use num::Zero;
 
 fn binary_boolean_kleene_kernel<F>(
     left: &BooleanArray,