Repository navigation
fix: Reexport the Arrow generics from DBI - #634
Merged
Merged
Conversation
`RPostgres::dbGetQueryArrow()` and the other Arrow generics now work without attaching DBI, and DBItest's "reexport" spec runs again. Closes #633. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5LPjEzyaTRpXAuS6g
krlmlr
marked this pull request as ready for review
November 29, 2026 11:56
This was referenced Nov 29, 2026
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
RPostgres reexports DBI's generics via
@exportMethodentries inR/export.R, but the Arrow generics were missing, soRPostgres::dbGetQueryArrow()failed. This adds@exportMethodentries fordbAppendTableArrow,dbBindArrow,dbCreateTableArrow,dbFetchArrow,dbFetchArrowChunk,dbGetQueryArrow,dbReadTableArrow,dbSendQueryArrowanddbWriteTableArrow, following the file's existing pattern, regeneratesNAMESPACE, and removes the "reexport" skip from DBItest'sdefault_skip. Withdbitest_version = "1.9.0", the reexport spec requires exactly these generics in addition to the ones already exported. No methods change: the generics dispatch to DBI's default Arrow methods as before.Tested against a local PostgreSQL 16: the DBItest reexport spec passes, and
devtools::test()reports no failures (skips are the existing ones by request or for a missing test database).Closes #633. Part of the native Arrow work coordinated in #631.
Generated by Claude Code