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

ArrowGenerator is broken on caching with latest fsspec release #806

Open
skshetry opened this issue Jan 9, 2025 · 0 comments
Open

ArrowGenerator is broken on caching with latest fsspec release #806

skshetry opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@skshetry
Copy link
Member

skshetry commented Jan 9, 2025

Description

Broken by fsspec/filesystem_spec#1755.

Traceback (most recent call last):]
  File "/Users/user/work/iterative/datachain/src/datachain/lib/arrow.py", line 90, in iter_records
    for record_batch in ds.to_batches(**kw):
                        ^^^^^^^^^^^^^^^^^^^
AttributeError: 'coroutine' object has no attribute 'closed'
/Users/user/work/iterative/datachain/src/datachain/lib/arrow.py:90: RuntimeWarning: coroutine 'AbstractFileSystem.open' was never awaited
  for record_batch in ds.to_batches(**kw):

Thanks to @dreadatour for catching the bug.

Version Info


@skshetry skshetry added the bug Something isn't working label Jan 9, 2025
@skshetry skshetry self-assigned this Jan 9, 2025
@skshetry skshetry changed the title ArrowGenerator is broken on caching on latest fsspec release ArrowGenerator is broken on caching with latest fsspec release Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant