westonpace commented on a change in pull request #10628:
URL: https://github.com/apache/arrow/pull/10628#discussion_r665252111
##########
File path: python/pyarrow/tests/test_dataset.py
##########
@@ -3269,8 +3308,19 @@ def test_write_dataset_parquet(tempdir):
# using default "parquet" format string
+ files_correct_metadata = 0
+
+ def file_visitor(written_file):
+ nonlocal files_correct_metadata
+ if (written_file.metadata is not None and
+ written_file.metadata.num_columns == 3):
+ files_correct_metadata += 1
Review comment:
I moved this check into its own test.
--
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]