Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially flatten arrow-buffer #2737

Merged
merged 2 commits into from Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 7 additions & 2 deletions arrow-buffer/src/lib.rs
Expand Up @@ -19,6 +19,11 @@

pub mod alloc;
pub mod buffer;
pub use buffer::{Buffer, MutableBuffer};

mod bytes;
pub mod native;
pub mod util;
mod native;

pub use native::*;
mod util;
pub use util::*;
3 changes: 1 addition & 2 deletions arrow/src/bitmap.rs
Expand Up @@ -17,12 +17,11 @@

//! Defines [Bitmap] for tracking validity bitmaps

use crate::buffer::Buffer;
use crate::error::{ArrowError, Result};
use crate::util::bit_util;
use std::mem;

use arrow_buffer::buffer::{buffer_bin_and, buffer_bin_or};
use arrow_buffer::buffer::{buffer_bin_and, buffer_bin_or, Buffer};
use std::ops::{BitAnd, BitOr};

#[derive(Debug, Clone)]
Expand Down
2 changes: 1 addition & 1 deletion arrow/src/datatypes/native.rs
Expand Up @@ -16,7 +16,7 @@
// under the License.

use super::DataType;
pub use arrow_buffer::native::{ArrowNativeType, ToByteSlice};
pub use arrow_buffer::{ArrowNativeType, ToByteSlice};
use half::f16;

/// Trait bridging the dynamic-typed nature of Arrow (via [`DataType`]) with the
Expand Down
2 changes: 1 addition & 1 deletion arrow/src/util/mod.rs
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

pub use arrow_buffer::util::{bit_chunk_iterator, bit_util};
pub use arrow_buffer::{bit_chunk_iterator, bit_util};

#[cfg(feature = "test_utils")]
pub mod bench_util;
Expand Down