Skip to content

Commit

Permalink
Make DecimalArray as PrimitiveArray (#2857)
Browse files Browse the repository at this point in the history
* Make DecimalArray as PrimitiveArray

* Add decimal array tests back

* Remove value validation in with_precision_and_scale

* Add "force_validate" cfg check back

* Trigger Build

Co-authored-by: Raphael Taylor-Davies <r.taylordavies@googlemail.com>
  • Loading branch information
viirya and tustvold committed Oct 13, 2022
1 parent fa1d079 commit eeb1261
Show file tree
Hide file tree
Showing 27 changed files with 592 additions and 1,573 deletions.
997 changes: 0 additions & 997 deletions arrow-array/src/array/decimal_array.rs

This file was deleted.

9 changes: 0 additions & 9 deletions arrow-array/src/array/mod.rs
Expand Up @@ -31,9 +31,6 @@ pub use binary_array::*;
mod boolean_array;
pub use boolean_array::*;

mod decimal_array;
pub use decimal_array::*;

mod dictionary_array;
pub use dictionary_array::*;

Expand Down Expand Up @@ -449,12 +446,6 @@ impl PartialEq for FixedSizeBinaryArray {
}
}

impl PartialEq for Decimal128Array {
fn eq(&self, other: &Self) -> bool {
self.data().eq(other.data())
}
}

impl<OffsetSize: OffsetSizeTrait> PartialEq for GenericListArray<OffsetSize> {
fn eq(&self, other: &Self) -> bool {
self.data().eq(other.data())
Expand Down

0 comments on commit eeb1261

Please sign in to comment.