eeroel commented on code in PR #37868:
URL: https://github.com/apache/arrow/pull/37868#discussion_r1372666494


##########
python/pyarrow/tests/test_dataset.py:
##########
@@ -981,6 +981,48 @@ def test_make_fragment(multisourcefs):
         assert row_group_fragment.row_groups == [0]
 
 
[email protected]
[email protected]
+def test_make_fragment_with_size(s3_example_simple):

Review Comment:
   Good point, I was focused on an S3 use case so didn't consider this. I tried 
to convert this to use the same mock filesystem from `multisourcefs` as the 
above test, but in that case the exceptions do not get raised, and the 
`to_table()` calls return incomplete data of 24 rows (in both size=1 and 
size=1000000). Need to look into this more to see if it's a bug on the Python 
side or the C++ side.



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