-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
read_parquet from multiple files #2794
Comments
You can only read multiple files at once using pl.read_parquet(
'./*.parquet',
) If you want to read without glob patters, you need to call |
Ok, that's what I understood, but in this case there is a typo in the doc string right ? It is said that pl.read_parquet(
source: Union[str, List[str], pathlib.Path, BinaryIO, _io.BytesIO, bytes],
columns: Union[List[int], List[str], NoneType] = None,
...
) -> polars.internals.frame.DataFrame |
Ah, check. Thanks for pointing that out. |
Fixed |
Just for the next one bumping into this ticket: it's now added with #13044 |
What language are you using?
Python 3.8,
What version of polars are you using?
0.13.4
What operating system are you using polars on?
Redhat 7.5
Describe your bug.
Form the doc, we can see that it is possible to read a list of parquet files. I did not make it work.
What are the steps to reproduce the behavior?
Example
What is the actual behavior?
Fails with
TypeError: Object does not have a .read() method.
What is the expected behavior?
abc.parquet and def.parquet are concatenate
The text was updated successfully, but these errors were encountered: