Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
liurenjie1024 committed Dec 28, 2023
1 parent edb3018 commit 9a262e5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions icelake/src/catalog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,14 +347,14 @@ impl UpdateTableBuilder {
/// Add requirements.
pub fn add_requirements(
&mut self,
requirements: impl IntoIterator<Item=UpdateRequirement>,
requirements: impl IntoIterator<Item = UpdateRequirement>,
) -> &mut Self {
self.0.requirements.extend(requirements);
self
}

/// Add updates.
pub fn add_updates(&mut self, updates: impl IntoIterator<Item=MetadataUpdate>) -> &mut Self {
pub fn add_updates(&mut self, updates: impl IntoIterator<Item = MetadataUpdate>) -> &mut Self {
self.0.updates.extend(updates);
self
}
Expand Down Expand Up @@ -482,7 +482,9 @@ pub async fn load_catalog(configs: &HashMap<String, String>) -> Result<CatalogRe
}

/// Load base catalog config from configuration.
pub fn load_iceberg_base_catalog_config(configs: &HashMap<String, String>) -> Result<BaseCatalogConfig> {
pub fn load_iceberg_base_catalog_config(
configs: &HashMap<String, String>,
) -> Result<BaseCatalogConfig> {
log::info!("Loading base catalog config from configs: {:?}", configs);

let catalog_name = configs.get(CATALOG_NAME).ok_or_else(|| {
Expand Down

0 comments on commit 9a262e5

Please sign in to comment.