AlenkaF commented on code in PR #49869:
URL: https://github.com/apache/arrow/pull/49869#discussion_r3450781983


##########
python/pyarrow/tests/test_table.py:
##########
@@ -942,6 +942,23 @@ def test_table_from_struct_array_chunked_array():
     ))
 
 
+def test_table_from_struct_array_for_empty_chunked_array():
+    # GH-48344: round-trip Table.to_struct_array -> Table.from_struct_array
+    # for an empty table produces a ChunkedArray with zero chunks, which
+    # previously raised "Must pass schema, or at least one RecordBatch".

Review Comment:
   I think simply adding the GH issue number will do here.
   
   ```suggestion
       # GH-48344
   ```



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