Skip to content

Filesystem: Migrate local filesystem access to Apache Arrow#238

Merged
amotl merged 1 commit into
mainfrom
localfs-arrow
Jul 19, 2026
Merged

Filesystem: Migrate local filesystem access to Apache Arrow#238
amotl merged 1 commit into
mainfrom
localfs-arrow

Conversation

@amotl

@amotl amotl commented Jul 18, 2026

Copy link
Copy Markdown
Member

About

Performance improvements for LocalFileSystem using Arrow.

References

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Local filesystem initialization now wraps Apache Arrow’s LocalFileSystem for fsspec compatibility. The project adds the required fsspec dependency and records the migration in the changelog.

Changes

Local filesystem migration

Layer / File(s) Summary
Arrow local filesystem integration
src/dlt_filesystem/source/impl/local.py, pyproject.toml, docs/changelog.md
LocalFilesystemSource uses ArrowFSWrapper(LocalFileSystem()); fsspec>2021.9 is added as a project dependency, and the migration is recorded in the changelog.

Estimated code review effort: 2 (Simple) | ~10 minutes

Poem

A rabbit hops through Arrow’s bright stream,
Wrapping local files in a filesystem dream.
fsspec joins the burrow, neat and spry,
While changelog carrots wait nearby.
Hop, hop—local paths now fly!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: migrating local filesystem access to Apache Arrow.
Description check ✅ Passed The description is directly related and matches the Arrow-based LocalFileSystem performance change.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch localfs-arrow

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@read-the-docs-community

read-the-docs-community Bot commented Jul 18, 2026

Copy link
Copy Markdown

Documentation build overview

📚 omniload | 🛠️ Build #33650131 | 📁 Comparing ca2b90d against latest (bf9bf05)

  🔍 Preview build  

1 file changed
± changelog.html

@amotl amotl added the coderabbit-review Tell CodeRabbit to review the patch. label Jul 18, 2026
@amotl
amotl requested a review from hampsterx July 18, 2026 23:52
@amotl
amotl marked this pull request as ready for review July 18, 2026 23:58
@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.37%. Comparing base (bf9bf05) to head (ca2b90d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   55.37%   55.37%           
=======================================
  Files         210      210           
  Lines        9830     9831    +1     
=======================================
+ Hits         5443     5444    +1     
  Misses       4387     4387           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@amotl
amotl merged commit 8a42c05 into main Jul 19, 2026
14 checks passed
@amotl
amotl deleted the localfs-arrow branch July 19, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coderabbit-review Tell CodeRabbit to review the patch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filesystem: Migrate from fsspec.LocalFileSystem to pyarrow.fs.LocalFileSystem

1 participant