etseidl commented on code in PR #8890:
URL: https://github.com/apache/arrow-rs/pull/8890#discussion_r2547143920


##########
arrow-schema/src/datatype_display.rs:
##########
@@ -27,7 +27,7 @@ impl fmt::Display for DataType {
 
         fn format_field(field: &crate::Field) -> String {
             let name = field.name();
-            let maybe_nullable = if field.is_nullable() { "nullable " } else { 
"" };
+            let maybe_nullable = if field.is_nullable() { "" } else { "nonnull 
" };

Review Comment:
   maybe this logic should be its own function as it's used elsewhere



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to