Skip to content

Commit

Permalink
(WIP) Iceberg schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rshkv committed Feb 9, 2025
1 parent 1c375fa commit e189347
Show file tree
Hide file tree
Showing 5 changed files with 834 additions and 277 deletions.
4 changes: 2 additions & 2 deletions crates/iceberg/src/arrow/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -843,12 +843,12 @@ pub(crate) mod builder {
/// compile-time when types are determined dynamically (e.g. based on some column type).
/// A [DataType] is given at construction time which is used to later downcast the inner array
/// and provided values.
pub(crate) struct AnyArrayBuilder {
pub(crate) struct AnyPrimitiveArrayBuilder {
data_type: DataType,
inner: Box<dyn ArrayBuilder>,
}

impl AnyArrayBuilder {
impl AnyPrimitiveArrayBuilder {
pub(crate) fn new(data_type: &DataType) -> Self {
Self {
data_type: data_type.clone(),
Expand Down
Loading

0 comments on commit e189347

Please sign in to comment.