jorisvandenbossche commented on a change in pull request #7026:
URL: https://github.com/apache/arrow/pull/7026#discussion_r415703472
##########
File path: python/pyarrow/_dataset.pyx
##########
@@ -269,20 +454,21 @@ cdef class FileSystemDataset(Dataset):
cdef:
CFileSystemDataset* filesystem_dataset
- def __init__(self, paths_or_selector, schema=None, format=None,
- filesystem=None, partitions=None, root_partition=None):
+ def __init__(self, paths_or_selector, schema, format, filesystem,
+ partitions=None, Expression root_partition=_true):
Review comment:
Can you leave this as it was? This was done on purpose to provide decent
error messages (see discussion in https://github.com/apache/arrow/pull/6913, I
am happy to find a better way though)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]