Skip to content

Commit

Permalink
style: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Apr 23, 2024
1 parent 6bbe7db commit 5d7b6f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/catalog_provider/glue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl GlueCatalogProvider {
"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat",
"org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat",
"org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe",
) => Ok(Box::new(ParquetFormat::default())),
) => Ok(Box::<ParquetFormat>::default()),
(
"org.apache.hadoop.mapred.TextInputFormat",
"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
Expand Down Expand Up @@ -348,22 +348,22 @@ impl GlueCatalogProvider {
"org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat",
"org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat",
"org.apache.hadoop.hive.serde2.avro.AvroSerDe",
) => Ok(Box::new(AvroFormat::default())),
) => Ok(Box::<AvroFormat>::default()),
(
"org.apache.hadoop.mapred.TextInputFormat",
"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
"org.apache.hive.hcatalog.data.JsonSerDe",
) => Ok(Box::new(JsonFormat::default())),
) => Ok(Box::<JsonFormat>::default()),
(
"org.apache.hadoop.mapred.TextInputFormat",
"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
"org.openx.data.jsonserde.JsonSerDe",
) => Ok(Box::new(JsonFormat::default())),
) => Ok(Box::<JsonFormat>::default()),
(
"org.apache.hadoop.mapred.TextInputFormat",
"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
"com.amazon.ionhiveserde.IonHiveSerDe",
) => Ok(Box::new(JsonFormat::default())),
) => Ok(Box::<JsonFormat>::default()),
_ => Err(GlueError::NotImplemented(format!(
"No support for: {}, {}, {:?} yet.",
input_format, output_format, sd
Expand Down

0 comments on commit 5d7b6f4

Please sign in to comment.