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

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Aug 12, 2022
1 parent 8dcb175 commit c06b0e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions src/io/flight/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,9 @@ pub fn deserialize_message(
)?;
Ok(None)
}
t => {
return Err(Error::nyi(format!(
"Reading types other than record batches not yet supported, unable to read {:?}",
t
)));
}
t => Err(Error::nyi(format!(
"Reading types other than record batches not yet supported, unable to read {:?}",
t
))),
}
}
2 changes: 1 addition & 1 deletion src/io/orc/read/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,6 @@ pub fn deserialize(data_type: DataType, column: &Column) -> Result<Box<dyn Array
DataType::LargeUtf8 => deserialize_utf8::<i64>(data_type, column).map(|x| x.boxed()),
DataType::Binary => deserialize_binary::<i32>(data_type, column).map(|x| x.boxed()),
DataType::LargeBinary => deserialize_binary::<i64>(data_type, column).map(|x| x.boxed()),
dt => return Err(Error::nyi(format!("Deserializing {dt:?} from ORC"))),
dt => Err(Error::nyi(format!("Deserializing {dt:?} from ORC"))),
}
}

0 comments on commit c06b0e4

Please sign in to comment.