Skip to content

Commit

Permalink
impl map as wrapper of list
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Jul 21, 2024
1 parent 1410833 commit dcb565e
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 478 deletions.
2 changes: 2 additions & 0 deletions src/common/src/array/list_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ impl ArrayBuilder for ListArrayBuilder {

#[cfg(test)]
fn new(capacity: usize) -> Self {
// TODO: deprecate this
Self::with_type(
capacity,
// Default datatype
Expand Down Expand Up @@ -500,6 +501,7 @@ impl From<ListValue> for ArrayImpl {
}
}

/// A slice of an array
#[derive(Copy, Clone)]
pub struct ListRef<'a> {
array: &'a ArrayImpl,
Expand Down
Loading

0 comments on commit dcb565e

Please sign in to comment.