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

Fixed clippy warnings #1227

Merged
merged 1 commit into from
Aug 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"))),
}
}