westonpace commented on code in PR #36566:
URL: https://github.com/apache/arrow/pull/36566#discussion_r1270016725


##########
csharp/src/Apache.Arrow/Schema.cs:
##########
@@ -114,5 +114,7 @@ public Schema SetField(int fieldIndex, Field newField)
 
             return new Schema(fields, Metadata);
         }
+
+        public override string ToString() => $"{nameof(Schema)}: Num 
fields={_fieldsList.Count}, Num metadata={Metadata?.Count}";

Review Comment:
   ```suggestion
           public override string ToString() => $"{nameof(Schema)}: Num 
fields={_fieldsList.Count}, Num metadata={Metadata?.Count ?? 0}";
   ```



-- 
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