Skip to content

Commit 011e328

Browse files
committed
Engine
Signed-off-by: Nicholas Gates <nick@nickgates.com>
1 parent 73d7102 commit 011e328

99 files changed

Lines changed: 412 additions & 615 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

encodings/alp/public-api.lock

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub type vortex_alp::ALP::ValidityVTable = vortex_array::array::vtable::validity
3434

3535
pub fn vortex_alp::ALP::array_eq(data: &vortex_alp::ALPData, other: &vortex_alp::ALPData, _precision: vortex_array::hash::Precision) -> bool
3636

37-
pub fn vortex_alp::ALP::array_hash<H: core::hash::Hasher>(data: &vortex_alp::ALPData, state: &mut H, precision: vortex_array::hash::Precision)
37+
pub fn vortex_alp::ALP::array_hash<H: core::hash::Hasher>(data: &vortex_alp::ALPData, state: &mut H, _precision: vortex_array::hash::Precision)
3838

3939
pub fn vortex_alp::ALP::buffer(_array: vortex_array::array::view::ArrayView<'_, Self>, idx: usize) -> vortex_array::buffer::BufferHandle
4040

@@ -56,8 +56,6 @@ pub fn vortex_alp::ALP::serialize(array: vortex_array::array::view::ArrayView<'_
5656

5757
pub fn vortex_alp::ALP::slot_name(_array: vortex_array::array::view::ArrayView<'_, Self>, idx: usize) -> alloc::string::String
5858

59-
pub fn vortex_alp::ALP::slots(array: vortex_array::array::view::ArrayView<'_, Self>) -> &[core::option::Option<vortex_array::array::erased::ArrayRef>]
60-
6159
pub fn vortex_alp::ALP::validate(&self, data: &vortex_alp::ALPData, dtype: &vortex_array::dtype::DType, len: usize, slots: &[core::option::Option<vortex_array::array::erased::ArrayRef>]) -> vortex_error::VortexResult<()>
6260

6361
impl vortex_array::array::vtable::operations::OperationsVTable<vortex_alp::ALP> for vortex_alp::ALP
@@ -190,8 +188,6 @@ pub fn vortex_alp::ALPRD::serialize(array: vortex_array::array::view::ArrayView<
190188

191189
pub fn vortex_alp::ALPRD::slot_name(_array: vortex_array::array::view::ArrayView<'_, Self>, idx: usize) -> alloc::string::String
192190

193-
pub fn vortex_alp::ALPRD::slots(array: vortex_array::array::view::ArrayView<'_, Self>) -> &[core::option::Option<vortex_array::array::erased::ArrayRef>]
194-
195191
pub fn vortex_alp::ALPRD::validate(&self, data: &vortex_alp::ALPRDData, dtype: &vortex_array::dtype::DType, len: usize, slots: &[core::option::Option<vortex_array::array::erased::ArrayRef>]) -> vortex_error::VortexResult<()>
196192

197193
impl vortex_array::array::vtable::operations::OperationsVTable<vortex_alp::ALPRD> for vortex_alp::ALPRD
@@ -230,8 +226,6 @@ pub fn vortex_alp::ALPRDData::into_parts(self, left_parts: vortex_array::array::
230226

231227
pub fn vortex_alp::ALPRDData::left_parts_dictionary(&self) -> &vortex_buffer::buffer::Buffer<u16>
232228

233-
pub fn vortex_alp::ALPRDData::left_parts_patches(&self) -> core::option::Option<vortex_array::patches::Patches>
234-
235229
pub fn vortex_alp::ALPRDData::right_bit_width(&self) -> u8
236230

237231
pub fn vortex_alp::ALPRDData::try_new(dtype: vortex_array::dtype::DType, left_parts: vortex_array::array::erased::ArrayRef, left_parts_dictionary: vortex_buffer::buffer::Buffer<u16>, right_parts: vortex_array::array::erased::ArrayRef, right_bit_width: u8, left_parts_patches: core::option::Option<vortex_array::patches::Patches>) -> vortex_error::VortexResult<Self>

encodings/alp/src/alp/compress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ mod tests {
133133
use vortex_buffer::Buffer;
134134
use vortex_buffer::buffer;
135135

136-
use crate::alp::array::ALPArrayExt;
137136
use super::*;
137+
use crate::alp::array::ALPArrayExt;
138138
use crate::decompress_into_array;
139139

140140
#[test]

encodings/alp/src/alp/compute/between.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ use vortex_array::scalar_fn::fns::between::StrictComparison;
1818
use vortex_error::VortexResult;
1919

2020
use crate::ALP;
21-
use crate::alp::array::ALPArrayExt;
2221
use crate::ALPFloat;
22+
use crate::alp::array::ALPArrayExt;
2323
use crate::match_each_alp_float_ptype;
2424

2525
impl BetweenReduce for ALP {

encodings/alp/src/alp/compute/cast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use vortex_array::patches::Patches;
1010
use vortex_array::scalar_fn::fns::cast::CastReduce;
1111
use vortex_error::VortexResult;
1212

13-
use crate::alp::ALP;
1413
use crate::ALPArrayExt;
14+
use crate::alp::ALP;
1515

1616
impl CastReduce for ALP {
1717
fn cast(array: ArrayView<'_, Self>, dtype: &DType) -> VortexResult<Option<ArrayRef>> {

encodings/alp/src/alp/compute/compare.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ use vortex_error::VortexResult;
1818
use vortex_error::vortex_bail;
1919
use vortex_error::vortex_err;
2020

21-
use crate::ALPArrayExt;
2221
use crate::ALP;
22+
use crate::ALPArrayExt;
2323
use crate::ALPFloat;
2424
use crate::match_each_alp_float_ptype;
2525

encodings/bytebool/public-api.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ pub fn vortex_bytebool::ByteBool::serialize(_array: vortex_array::array::view::A
5252

5353
pub fn vortex_bytebool::ByteBool::slot_name(_array: vortex_array::array::view::ArrayView<'_, Self>, idx: usize) -> alloc::string::String
5454

55-
pub fn vortex_bytebool::ByteBool::slots(array: vortex_array::array::view::ArrayView<'_, Self>) -> &[core::option::Option<vortex_array::array::erased::ArrayRef>]
56-
5755
pub fn vortex_bytebool::ByteBool::validate(&self, data: &Self::ArrayData, dtype: &vortex_array::dtype::DType, len: usize, slots: &[core::option::Option<vortex_array::array::erased::ArrayRef>]) -> vortex_error::VortexResult<()>
5856

5957
impl vortex_array::array::vtable::operations::OperationsVTable<vortex_bytebool::ByteBool> for vortex_bytebool::ByteBool

encodings/datetime-parts/public-api.lock

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ pub fn vortex_datetime_parts::DateTimeParts::serialize(array: vortex_array::arra
5050

5151
pub fn vortex_datetime_parts::DateTimeParts::slot_name(_array: vortex_array::array::view::ArrayView<'_, Self>, idx: usize) -> alloc::string::String
5252

53-
pub fn vortex_datetime_parts::DateTimeParts::slots(array: vortex_array::array::view::ArrayView<'_, Self>) -> &[core::option::Option<vortex_array::array::erased::ArrayRef>]
54-
55-
pub fn vortex_datetime_parts::DateTimeParts::validate(&self, data: &Self::ArrayData, dtype: &vortex_array::dtype::DType, len: usize, slots: &[core::option::Option<vortex_array::array::erased::ArrayRef>]) -> vortex_error::VortexResult<()>
53+
pub fn vortex_datetime_parts::DateTimeParts::validate(&self, _data: &Self::ArrayData, dtype: &vortex_array::dtype::DType, len: usize, slots: &[core::option::Option<vortex_array::array::erased::ArrayRef>]) -> vortex_error::VortexResult<()>
5654

5755
impl vortex_array::array::vtable::operations::OperationsVTable<vortex_datetime_parts::DateTimeParts> for vortex_datetime_parts::DateTimeParts
5856

encodings/datetime-parts/src/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ use vortex_error::vortex_err;
3232
use vortex_error::vortex_panic;
3333
use vortex_session::VortexSession;
3434

35+
use crate::TemporalParts;
3536
use crate::canonical::decode_to_temporal;
3637
use crate::compute::kernel::PARENT_KERNELS;
3738
use crate::compute::rules::PARENT_RULES;
3839
use crate::split_temporal;
39-
use crate::TemporalParts;
4040

4141
vtable!(DateTimeParts, DateTimeParts, DateTimePartsData);
4242

encodings/datetime-parts/src/compute/rules.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ use vortex_array::scalar_fn::fns::mask::MaskReduceAdaptor;
2525
use vortex_error::VortexExpect;
2626
use vortex_error::VortexResult;
2727

28-
use crate::array::DateTimePartsArrayExt;
2928
use crate::DateTimeParts;
29+
use crate::array::DateTimePartsArrayExt;
3030
use crate::timestamp;
3131
pub(crate) const PARENT_RULES: ParentRuleSet<DateTimeParts> = ParentRuleSet::new(&[
3232
ParentRuleSet::lift(&DTPFilterPushDownRule),

encodings/decimal-byte-parts/public-api.lock

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ pub fn vortex_decimal_byte_parts::DecimalByteParts::serialize(array: vortex_arra
4848

4949
pub fn vortex_decimal_byte_parts::DecimalByteParts::slot_name(_array: vortex_array::array::view::ArrayView<'_, Self>, idx: usize) -> alloc::string::String
5050

51-
pub fn vortex_decimal_byte_parts::DecimalByteParts::slots(array: vortex_array::array::view::ArrayView<'_, Self>) -> &[core::option::Option<vortex_array::array::erased::ArrayRef>]
52-
53-
pub fn vortex_decimal_byte_parts::DecimalByteParts::validate(&self, data: &Self::ArrayData, dtype: &vortex_array::dtype::DType, len: usize, slots: &[core::option::Option<vortex_array::array::erased::ArrayRef>]) -> vortex_error::VortexResult<()>
51+
pub fn vortex_decimal_byte_parts::DecimalByteParts::validate(&self, _data: &Self::ArrayData, dtype: &vortex_array::dtype::DType, len: usize, slots: &[core::option::Option<vortex_array::array::erased::ArrayRef>]) -> vortex_error::VortexResult<()>
5452

5553
impl vortex_array::array::vtable::operations::OperationsVTable<vortex_decimal_byte_parts::DecimalByteParts> for vortex_decimal_byte_parts::DecimalByteParts
5654

0 commit comments

Comments
 (0)