Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 committed Feb 1, 2024
1 parent 11fdfcd commit 8f0681b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/batch/src/executor/iceberg_scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ impl Executor for IcebergScanExecutor {
impl IcebergScanExecutor {
#[try_stream(ok = DataChunk, error = BatchError)]
async fn do_execute(self: Box<Self>) {
let table = self.iceberg_config
let table = self
.iceberg_config
.load_table()
.await
.map_err(BatchError::Internal)?;
Expand Down
2 changes: 1 addition & 1 deletion src/connector/src/sink/iceberg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ impl IcebergConfig {
.into_iter()
.chain(self.table_name.split('.')),
)
.map_err(|e| anyhow!("Unable to parse table name: {e}"))?;
.map_err(|e| anyhow!("Unable to parse table name: {e}"))?;

catalog
.load_table(&table_id)
Expand Down

0 comments on commit 8f0681b

Please sign in to comment.