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


##########
python/pyarrow/tests/parquet/test_dataset.py:
##########
@@ -582,25 +561,41 @@ def _visit_level(base_dir, level, part_keys):
                 str(base_dir),
                 '{}={}'.format(name, value)
             ])
-            fs.mkdir(level_dir)
+            try:
+                fs.create_dir(level_dir)
+            except AttributeError:
+                fs.mkdir(level_dir)

Review Comment:
   The test were failing for S3 case (`s3_example_fs ` if I remember correctly) 
so I added try-except.



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