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

Commit

Permalink
Update src/array/map/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Wakahisa <[email protected]>
  • Loading branch information
jorgecarleitao and nevi-me authored Oct 2, 2021
1 parent 5c8f646 commit f1eb8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array/map/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl MapArray {

if let DataType::Struct(inner) = Self::get_field(&data_type).data_type() {
if inner.len() != 2 {
panic!("MapArray its inner `Struct` to have 2 fields (keys and maps)")
panic!("MapArray expects its inner `Struct` to have 2 fields (keys and maps)")
}
} else {
panic!("MapArray expects `DataType::Struct` as its inner logical type")
Expand Down

0 comments on commit f1eb8b6

Please sign in to comment.