Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Mar 29, 2024
1 parent 115b4b5 commit fa351e7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,19 +268,20 @@ fn lookup_file_format(table: Table, sd: &StorageDescriptor) -> Result<Arc<dyn Fi
};

let table_parameters = table.parameters.unwrap_or_default();
let table_type = table_parameters
let _table_type = table_parameters
.get("table_type")
.map(|x| x.as_str())
.unwrap_or_default();

// this can be delta...
// or ICEBERG...

/*
Table format: Apache Iceberg
Input format: -
Output format: -
Serde serialization lib:-
*/
Table format: Apache Iceberg
Input format: -
Output format: -
Serde serialization lib:-
*/

Check warning on line 285 in src/main.rs

View check run for this annotation

Codecov / codecov/patch

src/main.rs#L270-L285

Added lines #L270 - L285 were not covered by tests
let item: (&str, &str, &str) = (input_format, output_format, serialization_library);
let format_result: Result<Arc<dyn FileFormat>> = match item {
Expand Down

0 comments on commit fa351e7

Please sign in to comment.