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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: adopt parquet arrow async writer #922

Merged
merged 1 commit into from
May 24, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions analytic_engine/src/sst/parquet/encoding.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 CeresDB Project Authors. Licensed under Apache-2.0.
// Copyright 2022-2023 CeresDB Project Authors. Licensed under Apache-2.0.

use std::{convert::TryFrom, mem, sync::Arc};

Expand All @@ -22,10 +22,10 @@ use common_util::{
};
use log::trace;
use parquet::{
arrow::AsyncArrowWriter,
basic::Compression,
file::{metadata::KeyValue, properties::WriterProperties},
};
use parquet_ext::async_arrow_writer::AsyncArrowWriter;
use prost::Message;
use snafu::{ensure, Backtrace, OptionExt, ResultExt, Snafu};
use tokio::io::AsyncWrite;
Expand Down
122 changes: 0 additions & 122 deletions components/parquet_ext/src/async_arrow_writer.rs

This file was deleted.

3 changes: 1 addition & 2 deletions components/parquet_ext/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright 2022 CeresDB Project Authors. Licensed under Apache-2.0.
// Copyright 2022-2023 CeresDB Project Authors. Licensed under Apache-2.0.

pub mod async_arrow_writer;
pub mod meta_data;
pub mod prune;
pub mod reverse_reader;
Expand Down