Describe the bug, including details regarding any error messages, version, and platform.
It seems to be a typo at line 295 of python/pyarrow/dataset.py, which misses a "raise"
def _ensure_partitioning(scheme):
...
else:
ValueError(...)
# which should be
else:
raise ValueError(...)
Component(s)
Python