Skip to content

Latest commit

 

History

History
796 lines (577 loc) · 40.7 KB

CHANGELOG.md

File metadata and controls

796 lines (577 loc) · 40.7 KB

v0.7.2 (2024-06-10)

New Features

  • Implement IntoIterator for VariableSizeListArray

Commit Statistics

  • 1 commit contributed to the release.
  • 2 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #186

Commit Details

view details
  • #186
    • Implement IntoIterator for VariableSizeListArray (6385862)

v0.7.1 (2024-06-07)

New Features

  • implement IntoIterator for UnionArray

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #184

Commit Details

view details

v0.7.0 (2024-06-06)

Documentation

  • docs.rs defines --cfg=docsrs by default

New Features

  • implement IntoIterator for FixedSizeListArray

Refactor

  • clean up arrow-rs interop FixedSizeBinaryArray impls and tests

New Features (BREAKING)

  • fix union array arrow-rs conversion

Commit Statistics

  • 4 commits contributed to the release over the course of 22 calendar days.
  • 49 days passed between releases.
  • 4 commits were understood as conventional.
  • 4 unique issues were worked on: #166, #176, #178, #179

Commit Details

view details
  • #166
    • Fix union array arrow-rs conversion (8128b7d)
  • #176
    • Implement IntoIterator for FixedSizeListArray (a074bfe)
  • #178
    • Docs.rs defines --cfg=docsrs by default (c4a6e6c)
  • #179
    • Clean up arrow-rs interop FixedSizeBinaryArray impls and tests (f3f3a9f)

v0.6.0 (2024-04-18)

Chore

  • remove unused IndexMut trait

New Features (BREAKING)

  • add FixedSizeBinaryArray and use it for Uuid

Commit Statistics

  • 2 commits contributed to the release over the course of 48 calendar days.
  • 72 days passed between releases.
  • 2 commits were understood as conventional.
  • 2 unique issues were worked on: #155, #171

Commit Details

view details

v0.5.0 (2024-02-06)

New Features (BREAKING)

  • add parquet write support for UnionArray

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #149

Commit Details

view details
  • #149
    • Add parquet write support for UnionArray (a2276a0)

v0.4.4 (2024-02-06)

New Features

  • add arrow NullArray interop

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #147

Commit Details

view details

v0.4.3 (2024-02-05)

New Features

  • add UnionArray

Commit Statistics

  • 1 commit contributed to the release.
  • 5 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #146

Commit Details

view details

v0.4.2 (2024-01-31)

Documentation

  • update UuidArray's documentation

Commit Statistics

  • 1 commit contributed to the release.
  • 1 day passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #144

Commit Details

view details

v0.4.1 (2024-01-29)

New Features

  • LogicalArray to support logical types

Commit Statistics

  • 1 commit contributed to the release.
  • 7 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #124

Commit Details

view details

v0.4.0 (2024-01-22)

Chore

  • fix clippy 1.75.0 warnings Fixes new 1.75.0 clippy warnings.
  • enable more lints

New Features

  • convert StructArray from arrow_array::StructArray This enables roundtripping through a parquet file.
  • convert StructArray from arrow_array::StructArray
  • add arrow-rs interop support for FixedSizeListArray Adds support for interop between narrow::array::FixedSizeListArray and arrow_array::FixedSizeListArray.
  • add arrow-rs interop support for FixedSizeListArray
  • add FixedSizeListArray
  • add non-nullable to nullable conversion

Bug Fixes

  • bound on ArrayType implementation for arrays The FixedSize bound was used when arrays were stored in FixedSizePrimitiveArray.
  • clippy warning
  • remove comment
  • remove FixedSize impl for tuple
  • offset extend impl for nullable data For nullable data it should also flatten the option iterator.
  • offset extend impl for nullable data

New Features (BREAKING)

  • add arrow-rs features for buffer and array interop Adds interop with arrow-rs. The added parquet example demonstrates what this enables.

  • add FixedSizeListArray

  • add OffsetElement and UnionType to the Array GAT of ArrayType This adds generics for offset element type (i32 or i64) and union layout (sparse or dense) to the Array type constructor of the ArrayType trait.

    This is not ideal without default types for the generics in a generic associated type, but the alternatives are worse (making ArrayType generic over these types with defaults).

  • add OffsetElement and UnionType to the Array GAT of ArrayType

  • add item associated type to Unit trait To support using NullArray for unit variants of enums in UnionArrays, this adds an Item associated type to the Unit trait, which converts into the type implementing Unit, allowing code generation of types for unit enum variants which implement Unit and convert to instances of the variants of the original enum.

  • add item associated type to Unit trait

Commit Statistics

Commit Details

view details
  • #100
    • Add arrow-rs features for buffer and array interop (374aedf)
  • #102
    • Add non-nullable to nullable conversion (bfc1399)
  • #107
  • #108
    • Add item associated type to Unit trait (7db53c2)
  • #109
    • Add OffsetElement and UnionType to the Array GAT of ArrayType (3b60bbe)
  • #110
  • #117
    • Add arrow-rs interop support for FixedSizeListArray (b5210c7)
  • #118
    • Convert StructArray from arrow_array::StructArray (fcb49b3)
  • #123
    • Bound on ArrayType implementation for arrays (fabc404)
  • #136
    • Fix clippy 1.75.0 warnings (117a4f3)
  • #98
    • Offset extend impl for nullable data (10aacdf)
  • Uncategorized
    • Convert StructArray from arrow_array::StructArray (b4c49b0)
    • Add missing tests (6c703bd)
    • Clippy warning (54eda3c)
    • Add arrow-rs interop support for FixedSizeListArray (b4d4038)
    • Add direct RecordBatch conversion for StructArray (8f0c5b2)
    • Remove a comment (d9c076f)
    • Add parquet example (094f3a0)
    • Generalize more string array methods (bc0f459)
    • Generalize stringarray extend impl (66b4970)
    • Split out implementations and add more tests (ea99db7)
    • Fix some clippy warnings (25c7367)
    • Change interaction with ArrowNativeType (6c43438)
    • Merge branch 'main' into arrow-array (8ee0a2c)
    • Add nested test (63c6e8d)
    • Add IntoIterator implementation, change ArrayType for [T: FixedSize; N] (b631643)
    • Add FixedSizeListArray (e84f00c)
    • Add OffsetElement and UnionType to the Array GAT of ArrayType (a3613c5)
    • Add item associated type to Unit trait (3a7f327)
    • Fix docs (d440189)
    • Use ArrayBuffer<1> for SingleBuffer (34db73e)
    • Add indexing to Offset (a84ee37)
    • Add Index trait (97747b5)
    • Remove comment (59cdb4a)
    • Enable more lints (11c8970)
    • Merge branch 'main' into arrow-array (8ddf760)
    • Add non-nullable to nullable conversion (11f75e0)
    • Add BooleanArray conversion (21547b1)
    • Rename feature to arrow-rs (afbb962)
    • Move arrow-rs interop to arrow module (e39ad3b)
    • Fix warning (c5c09f0)
    • Merge branch 'main' into arrow-array (42ba214)
    • Remove FixedSize impl for tuple (b6b922c)
    • Implicit conversion to ArrowBuffer from VecBuffer is now supported (9494ce2)
    • Merge branch 'main' into arrow-array (bdb17bc)
    • Add BufferType implementation for arrow_buffer::ScalarBuffer (44e3567)
    • Make conversion generic over buffer type (e2b40f1)
    • Add arrow-array feature for zero-copy array interop (26e746c)
    • Use BufferBuilder abstraction (7b5dab9)
    • Offset extend impl for nullable data (60fb809)
    • Some fixes and tests (3cfe877)
    • Setup arrow-buffer interop (4d0d333)

v0.3.4 (2023-08-01)

Bug Fixes

  • ArrayType derive for named structs
    #[derive(ArrayType, Default)]
    struct Bar<T> {
    a: u32,
    b: Option<bool>,
    c: T,
    }
    
    let input = [
    Some(Bar {
    a: 1,
    b: Some(false),
    c: None,
    }),
    None,
    Some(Bar {
    a: 2,
    b: None,
    c: Some(()),
    }),
    ];
    
    let array = input.into_iter().collect::<StructArray<Bar<_>, true>>();
    assert_eq!(array.len(), 3);
    assert_eq!(array.is_valid(0), Some(true));
    assert_eq!(array.is_null(1), Some(true));
    assert_eq!(array.is_valid(2), Some(true));
    
    let int_array = &array.0.as_ref().a;
    assert_eq!(int_array.0.as_slice(), &[1, Default::default(), 2]);
    
    let bool_array = &array.0.as_ref().b;
    assert_eq!(
    bool_array.into_iter().collect::<Vec<_>>(),
    &[Some(false), None, None]
    );
    
    let null_array = &array.0.as_ref().c;
    assert_eq!(null_array.is_null(0), Some(true));
    assert_eq!(null_array.is_null(1), Some(true));
    assert_eq!(null_array.is_valid(2), Some(true));
    
    let input = [
    Some(Bar {
    a: 1,
    b: None,
    c: false,
    }),
    None,
    ];
    let array = input.into_iter().collect::<StructArray<Bar<_>, true>>();
    assert_eq!(array.len(), 2);

Commit Statistics

  • 3 commits contributed to the release over the course of 4 calendar days.
  • 4 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #82

Commit Details

view details
  • #82
    • ArrayType derive for named structs (8fb5f2f)
  • Uncategorized
    • Consolidate the common items for the different field types (427bebb)
    • Add derive support for named structs (538c16c)

v0.3.3 (2023-07-27)

Bug Fixes

  • ArrayType derive for tuple structs
    #[derive(ArrayType, Default)]
    struct Foo<'a>(u32, u16, &'a str);
    
    #[derive(ArrayType, Default)]
    struct Bar<'a>(Foo<'a>);
    
    #[derive(ArrayType, Default)]
    struct FooBar<'a, T>(Bar<'a>, T);
    
    let input = [
    FooBar(Bar(Foo(1, 2, "n")), false),
    FooBar(Bar(Foo(1, 2, "arrow")), false),
    ];
    let array = input.into_iter().collect::<StructArray<FooBar<_>>>();
    assert_eq!(array.len(), 2);
    
    let input = vec![
    Some(vec![Some(FooBar(Bar(Foo(42, 0, "!"), 1234))]),
    None,
    Some(vec![None]),
    Some(vec![None, None]),
    ];
    let array = input
    .into_iter()
    .collect::<VariableSizeListArray<StructArray<FooBar<_>, true>, true>>();
    assert_eq!(array.len(), 4);
  • ArrayType derive for tuple structs

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 1 unique issue was worked on: #80

Commit Details

view details
  • #80
    • ArrayType derive for tuple structs (9a48422)
  • Uncategorized
    • ArrayType derive for tuple structs (1db19ad)

v0.3.2 (2023-07-27)

Bug Fixes

  • ArrayType derive for unit structs Add support to derive ArrayType for unit structs:
    #[derive(ArrayType, Copy, Clone, Default)]
    struct Foo;
    
    let array = [Foo; 5].into_iter().collect::<StructArray<Foo>>();
    assert_eq!(array.len(), 5);
    
    let array = [Some(Foo); 5].into_iter().collect::<StructArray<Foo, true>>();
    assert_eq!(array.len(), 5);
    assert!(array.all_valid());
  • ArrayType derive for unit structs

Commit Statistics

  • 3 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 1 unique issue was worked on: #79

Commit Details

view details
  • #79
    • ArrayType derive for unit structs (a7a3f79)
  • Uncategorized

v0.3.1 (2023-07-27)

Chore

  • fix gh release

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized

v0.3.0 (2023-07-27)

Documentation

  • update Validity docs
  • update Validity docs

Bug Fixes

  • add BufferRef and BufferRefMut impls for BooleanArray

Commit Statistics

  • 3 commits contributed to the release.
  • 3 commits were understood as conventional.
  • 1 unique issue was worked on: #77

Commit Details

view details
  • #77
  • Uncategorized
    • Update Validity docs (12f9079)
    • Add BufferRef and BufferRefMut impls for BooleanArray (50c9d81)

v0.2.5 (2023-07-26)

Bug Fixes

  • rename buffer generic of Nullable to match other generic buffers
  • add missing BitmapRef, BitmapRefMut and ValidityBitmap implementations When arrays are nullable they should provide access to the validity bitmap and the methods of the ValidityBitmap trait to get nullability information.
  • add missing BitmapRef, BitmapRefMut and ValidityBitmap implementations

Test

  • FromIterator for VariableSizeListArray with nullable child array
  • FromIterator for nested nullable VariableSizeListArray

Commit Statistics

  • 5 commits contributed to the release.
  • 5 commits were understood as conventional.
  • 1 unique issue was worked on: #74

Commit Details

view details
  • #74
    • Add missing BitmapRef, BitmapRefMut and ValidityBitmap implementations (1e2265e)
  • Uncategorized
    • Rename buffer generic of Nullable to match other generic buffers (ce9a69e)
    • FromIterator for VariableSizeListArray with nullable child array (adc3f3b)
    • FromIterator for nested nullable VariableSizeListArray (aeefe44)
    • Add missing BitmapRef, BitmapRefMut and ValidityBitmap implementations (faeca97)

v0.2.2 (2023-07-26)

Chore

  • remove some comments

Bug Fixes

  • specify derive crate version to fix publish

Commit Statistics

  • 62 commits contributed to the release over the course of 630 calendar days.
  • 726 days passed between releases.
  • 2 commits were understood as conventional.
  • 2 unique issues were worked on: #69, #70

Commit Details

view details
  • #69
  • #70
    • Specify derive crate version to fix publish (f244d3a)
  • Uncategorized
    • Specify derive crate version to fix publish (e192fd5)
    • Remove some comments (048f330)
    • Merge #62 (5deccd3)
    • Fix clippy warning (9b7b2e6)
    • Clean up (b5a048f)
    • Update arrays with different offset implementation. Data no longer gets default values for nulls. (c646637)
    • A different offset abstraction (195c1e9)
    • Add variable size list array (299a9c3)
    • Add more array types (9d5a01f)
    • Add BooleanArray (f121d15)
    • Drop FixedSize impl for tuples with more than 1 field (1fdf1ab)
    • Change some all things (952ccf0)
    • Merge #60 (35b199c)
    • Fix clippy warning (d76f69d)
    • Merge #54 (65f518a)
    • Add ValidityBitmap::validity_bitmap_mut and improve test (aea75f2)
    • Add some flexibility to Nullable (4949c03)
    • Merge #53 (411b13d)
    • Implement ArrayType for str (6824595)
    • Merge #50 (8edbfdc)
    • Add RunEndEncoded array (804f552)
    • Merge #49 (7ba4008)
    • Address review comments (f8d4f64)
    • Cargo clippy (fe182c7)
    • Impl ValidityBitmap from StringArray (19ae85c)
    • Merge #47 (f4e88e6)
    • Fix formatting (18cf56a)
    • Fix more clippy warnings (958d948)
    • Fix clippy warnings (0d5ebd4)
    • Merge #44 (747d40c)
    • Add logo to rustdoc (cc0735e)
    • Merge #40 (69d6758)
    • Add bitmap buffer trait bound (a2b1ac1)
    • Compile using stable Rust (74cdd1f)
    • Merge #37 (80ae645)
    • The feature generic_associated_types has been stable since 1.66.0-nightly (65206cb)
    • Merge #36 (e43cb5b)
    • Fix clippy warnings (280e4b8)
    • Merge #35 (34c4399)
    • Add Nullable and Validity (9a29600)
    • Merge #34 (9582618)
    • Add offset to Bitmap for zero-copy slicing on non-byte boundaries (b663f01)
    • Merge #28 (51ac77b)
    • Remove stuff from previous iteration (2eab5f1)
    • Remove Primitive impl for usize and isize (17316be)
    • Fix unresolved doc link to Offset (4b81186)
    • Starting afresh (aa7f5c2)
    • Merge #26 (474f797)
    • Fix ArrayType impl for Rust array types (c170c3d)
    • Merge #25 (15a77e7)
    • Remove bitvec dependency (e97195f)
    • Merge #24 (6ae74be)
    • Fix Bitmap storage to match Arrow specification (543e8b2)
    • Merge #21 (56ba436)
    • Fix unused_must_use warning (08d2918)
    • Drop Clone bound for IntoIterator impl for NullArray (0b2fb93)
    • Fix clippy::len-without-is-empty for NullArray (7b84230)
    • Modify NullArray to support Array derive for unit structs (e69d915)
    • Merge #20 (1649196)
    • Migrate to 2021 edition (60d723d)

v0.1.0 (2021-07-29)

Commit Statistics

  • 16 commits contributed to the release over the course of 84 calendar days.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge #11 (4c4ead6)
    • Merge #12 (60fe6a9)
    • Include dictionary module (c87977d)
    • Add DictionaryArray (6824088)
    • Add some comments (eccdee3)
    • Add NullArray and UnionArray (ccd93d3)
    • Fix Clippy warning (6fa88e9)
    • Add string array wrapper (baecd70)
    • Implement iterators for variable size array types (4f6e177)
    • Add more Array types (02b9400)
    • Vec makes no guarantees about its memory layout (a95d324)
    • Add VariableSizeBinaryArray (916b520)
    • Add FixedSizeArray and BooleanArray (39e38f9)
    • Add Offset (b02eb45)
    • Add Buffer, Bitmap, Nullable and Validity (7d9df27)
    • Setup packages (355b72c)