Skip to content

Commit

Permalink
apply clippy
Browse files Browse the repository at this point in the history
Signed-off-by: mag1c1an1 <[email protected]>
  • Loading branch information
mag1c1an1 committed Jan 20, 2024
1 parent 9688da0 commit 45d6ec6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rust/lakesoul-datafusion/src/catalog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::time::SystemTime;
use std::{env};
use std::any::Any;
use std::collections::HashSet;
use std::fmt::{Debug, Formatter, Pointer};
use std::fmt::{Debug, Formatter};


use async_trait::async_trait;
Expand All @@ -17,16 +17,16 @@ use datafusion::catalog::schema::SchemaProvider;
use datafusion::datasource::file_format::parquet::ParquetFormat;
use datafusion::datasource::TableProvider;
use datafusion::prelude::SessionContext;
use futures::future::{ok, try_maybe_done};
use tokio::runtime::{Handle, Runtime};

use tokio::runtime::{Handle};
use tracing::debug;
use tracing::field::debug;
use lakesoul_io::datasource::file_format::LakeSoulParquetFormat;
use lakesoul_io::datasource::listing::LakeSoulListingTable;

use lakesoul_io::lakesoul_io_config::{LakeSoulIOConfig, LakeSoulIOConfigBuilder};
use lakesoul_metadata::{MetaDataClientRef};
use proto::proto::entity::{CommitOp, DataCommitInfo, DataFileOp, FileOp, Namespace, TableInfo, Uuid};
use proto::proto::entity::{CommitOp, DataCommitInfo, DataFileOp, FileOp, TableInfo, Uuid};

use crate::lakesoul_table::helpers::create_io_config_builder_from_table_info;
use crate::serialize::arrow_java::{ArrowJavaSchema};
Expand Down Expand Up @@ -289,7 +289,7 @@ impl SchemaProvider for LakeSoulNamespace {
/// Search table by name
/// return LakeSoulListing table
async fn table(&self, name: &str) -> Option<Arc<dyn TableProvider>> {
if let Ok(t) = self.metadata_client.get_table_info_by_table_name(name, &self.namespace).await
if let Ok(_t) = self.metadata_client.get_table_info_by_table_name(name, &self.namespace).await
{
let config;
if let Ok(config_builder) = create_io_config_builder(self.metadata_client.clone(), Some(name), true)
Expand Down

0 comments on commit 45d6ec6

Please sign in to comment.