CurtHagenlocher commented on code in PR #291:
URL: https://github.com/apache/arrow-dotnet/pull/291#discussion_r2971870458


##########
src/Apache.Arrow/C/CArrowArrayExporter.cs:
##########
@@ -142,11 +143,7 @@ private unsafe static void 
ConvertArray(ExportedAllocationOwner sharedOwner, Arr
                 for (int i = 0; i < array.Buffers.Length; i++)
                 {
                     ArrowBuffer buffer = array.Buffers[i];
-                    IntPtr ptr;
-                    if (!buffer.TryExport(sharedOwner, out ptr))
-                    {
-                        throw new NotSupportedException($"An ArrowArray of 
type {array.DataType.TypeId} could not be exported: failed on buffer #{i}");
-                    }
+                    IntPtr ptr = buffer.Export(sharedOwner);

Review Comment:
   No thank you.



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