feat: add Arrow support to SQLite and MySQL adapters #158
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
sqlite,aiosqlite, andasyncmytests forselect_to_arrowChanges
Integration Tests (30 tests total - NEW)
tests/integration/test_adapters/test_sqlite/test_arrow.py(10 tests)tests/integration/test_adapters/test_aiosqlite/test_arrow.py(10 tests)tests/integration/test_adapters/test_asyncmy/test_arrow.py(10 tests)Test Coverage
All three adapters now have comprehensive Arrow integration tests covering:
Implementation Details
All three adapters inherit Arrow support from the base driver class via
select_to_arrow(), which uses the conversion path:execute() → dict → Arrow.This provides good performance and compatibility while maintaining a consistent API across all adapters.
SQLite Specifics
?parameter styleMySQL Specifics
%sparameter styleTesting
arrow_*) prevent test collisionsAsyncGeneratorRelated Work
Progress
With this PR, we've now added Arrow support testing for:
Still remaining:
Next Steps
After this PR merges: