Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better formatting for FixedSizeList (#2058) #2223

Merged
merged 11 commits into from
Dec 12, 2023
Prev Previous commit
Next Next commit
Fixing format for FixedSizeList
hemanth94 committed Dec 8, 2023
commit 32a1b0d1a523a4c51a15ab53810552efacc762c9
6 changes: 1 addition & 5 deletions crates/arrow_util/src/pretty.rs
Original file line number Diff line number Diff line change
@@ -286,11 +286,7 @@ pub fn fmt_dtype(dtype: &DataType) -> String {
format!("List<{}>", fmt_dtype(fld.data_type()))
}
DataType::FixedSizeList(fld, length) => {
format!(
"FixedSizeList<{}, Fixed_Length:{}>",
fmt_dtype(fld.data_type()),
length
)
format!("FixedSizeList<{}; {}>", fmt_dtype(fld.data_type()), length)
}
DataType::Struct(flds) => flds
.iter()