Commits


Joris Van den Bossche authored and Krisztián Szűcs committed 52a3126cc8c
ARROW-8290: [Python] Improve FileSystemDataset constructor * Handle the required `schema`, `format` and `filesystem` keyword validation manually, instead of letting cython handle it (which gives very cryptic error messages, like complaining about positional arguments if you made a typo in one of the keyword names) * Move the paths to the first argument, move `root_expression` to the end * Make `partitions` and `root_expression` optional * Rename `file_format` to `format`, since this name is what we are using elsewhere (eg in `ds.dataset(..)` Closes #6913 from jorisvandenbossche/ARROW-8290-FileSystemDataset Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>