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

fix: simplify the logs in query path (#770) #776

Merged
merged 1 commit into from
Mar 28, 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
8 changes: 4 additions & 4 deletions analytic_engine/src/sst/parquet/async_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use common_util::{
time::InstantExt,
};
use futures::{future::BoxFuture, FutureExt, Stream, StreamExt, TryFutureExt};
use log::{debug, error, info};
use log::{debug, error};
use object_store::{ObjectStoreRef, Path};
use parquet::{
arrow::{async_reader::AsyncFileReader, ParquetRecordBatchStreamBuilder, ProjectionMask},
Expand Down Expand Up @@ -200,7 +200,7 @@ impl<'a> Reader<'a> {
meta_data.custom().parquet_filter.as_ref(),
)?;

info!(
debug!(
"Reader fetch record batches, path:{}, row_groups total:{}, after prune:{}",
self.path,
meta_data.parquet().num_row_groups(),
Expand All @@ -221,7 +221,7 @@ impl<'a> Reader<'a> {
let chunks_num = parallelism;
let chunk_size = target_row_groups.len() / parallelism;
self.metrics.parallelism = parallelism;
info!(
debug!(
"Reader fetch record batches parallelly, parallelism suggest:{}, real:{}, chunk_size:{}",
suggested_parallelism, parallelism, chunk_size
);
Expand Down Expand Up @@ -482,7 +482,7 @@ impl RecordBatchProjector {

impl Drop for RecordBatchProjector {
fn drop(&mut self) {
info!(
debug!(
"RecordBatchProjector dropped, path:{} rows:{}, cost:{}ms.",
self.path,
self.row_num,
Expand Down
2 changes: 1 addition & 1 deletion components/object_store/src/disk_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl DiskCache {
.into_string()
.unwrap();

info!("Remove disk cache, filename:{}.", &file_path);
debug!("Remove disk cache, filename:{}.", &file_path);
if let Err(e) = tokio::fs::remove_file(&file_path).await {
error!("Remove disk cache failed, file:{}, err:{}.", file_path, e);
}
Expand Down