Skip to content
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

UserWarning: Polars found a filename when using EagerPolarsDataset #789

Open
astrojuanlu opened this issue Jul 29, 2024 · 1 comment
Open
Labels
bug Something isn't working datasets

Comments

@astrojuanlu
Copy link
Member

Description

First reported at https://linen-slack.kedro.org/t/22699778/hi-everyone-i-just-upgrade-to-kedro-1-1-and-i-m-now-getting-#1f0022c7-f023-4f1f-b963-4410aae0e6d2

UserWarning: Polars found a filename. Ensure you pass a path to the file instead of a python file

Comes from:

with self._fs.open(load_path, **self._fs_open_args_load) as fs_file:
return load_method(fs_file, **self._load_args)

Context

Nothing breaks, but it puzzles users and adds noise.

@astrojuanlu astrojuanlu added bug Something isn't working datasets labels Jul 29, 2024
@astrojuanlu
Copy link
Member Author

Similarly to #590, this comes because of how we use fsspec. But as explained in #625, we rely on fsspec because of our versioning capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working datasets
Projects
None yet
Development

No branches or pull requests

1 participant