Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Moved files internally for better organization (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao authored Feb 25, 2022
1 parent fb5d433 commit 10e6cd5
Show file tree
Hide file tree
Showing 25 changed files with 800 additions and 799 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ use crate::{
bitmap::MutableBitmap,
datatypes::{DataType, PhysicalType},
error::Result,
io::parquet::read::utils::MaybeNext,
};

use super::super::dictionary::*;
use super::super::utils::MaybeNext;
use super::super::DataPages;

/// An iterator adapter over [`DataPages`] assumed to be encoded as parquet's dictionary-encoded binary representation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ use std::collections::VecDeque;
use parquet2::{encoding::Encoding, page::DataPage, schema::Repetition};

use crate::{
array::Offset,
bitmap::MutableBitmap,
datatypes::DataType,
error::Result,
io::parquet::read::{utils::MaybeNext, DataPages},
array::Offset, bitmap::MutableBitmap, datatypes::DataType, error::Result,
io::parquet::read::DataPages,
};

use super::super::nested_utils::*;
use super::super::utils::MaybeNext;
use super::utils::Binary;
use super::{
super::utils,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use crate::{array::Offset, io::parquet::read::utils::Pushable};
use crate::array::Offset;

use super::super::utils::Pushable;

/// [`Pushable`] for variable length binary data.
#[derive(Debug)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,14 @@ use parquet2::{
};

use crate::{
array::FixedSizeBinaryArray,
bitmap::MutableBitmap,
datatypes::DataType,
error::Result,
io::parquet::read::{
utils::{
dict_indices_decoder, extend_from_decoder, next, not_implemented, split_buffer,
Decoder, MaybeNext, OptionalPageValidity, PageState,
},
DataPages,
},
array::FixedSizeBinaryArray, bitmap::MutableBitmap, datatypes::DataType, error::Result,
};

use super::super::utils::{
dict_indices_decoder, extend_from_decoder, next, not_implemented, split_buffer, Decoder,
MaybeNext, OptionalPageValidity, PageState,
};
use super::super::DataPages;
use super::utils::FixedSizeBinary;

struct Optional<'a> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::io::parquet::read::utils::Pushable;
use super::super::utils::Pushable;

/// A [`Pushable`] for fixed sized binary data
#[derive(Debug)]
Expand Down
Loading

0 comments on commit 10e6cd5

Please sign in to comment.