CurtHagenlocher commented on code in PR #2587: URL: https://github.com/apache/arrow-adbc/pull/2587#discussion_r1987666968
########## csharp/src/Apache.Arrow.Adbc/Extensions/IArrowArrayExtensions.cs: ########## @@ -76,7 +83,9 @@ public static class IArrowArrayExtensions case ArrowTypeId.Int64: return ((Int64Array)arrowArray).GetValue(index); case ArrowTypeId.String: - return ((StringArray)arrowArray).GetString(index); + StringArray sArray = (StringArray)arrowArray; + if (sArray.Length == 0) { return null; } Review Comment: Still curious about this as it looks strictly wrong. Is there a call stack which shows how we'd get here? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org