Skip to content

chore: Coordinate the Arrow rework, continued from #829 - #880

Draft
krlmlr wants to merge 1 commit into
mainfrom
claude/arrow-rework-continued
Draft

krlmlr wants to merge 1 commit into
mainfrom
claude/arrow-rework-continued

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

This pull request carries no code, only an empty commit. It continues the coordination of the Arrow rework from #829, whose session handed over on 2026-11-13 at the maintainer's request. The plan and the decisions on #829 still hold; new questions are posted here, each as its own comment.

State on 2026-12-01, 18:45 UTC

The chain is rebuilt from main, as planned: bug fixes first, then refactorings, then the Arrow features. Plan items 13 to 18 of the first plan are on top. The old chain #850 to #867 is a draft and serves as the source; the first implementation draft (#795 to #807) is closed. All layers are in GitHub stack #928, bottom to top, each with its own clean review (up to three rounds), fixed and green on its head. A review of the whole stack at #971 found no High; its fixes are #976 and #977.

Outside the stack, from main: #958 (fixes #957) and #969 (fixes #968, a crash in sqliteSetBusyHandler(con, NULL)), both reviewed and ready.

Found by the reviews on main and filed: #938, #939, #940 (its crash is fixed by #934), #941, #944, #946, #957, #968, #972, #973, #974, #975, #983, and comments on #882, #887 and #891. The layers are drafts until they are marked ready for review, which this session's harness refuses; all listed above are ready to be marked. The merge commit 855f46e on #950's branch has a stray first line in its message; rewording it needs a force-push, which the harness refused too.

Open questions

Decided on 2026-11-30

Decided on 2026-11-13

Coordinating session since 2026-11-30: https://claude.ai/code/session_01Hr1rd7QnTD4acgzTUihnF4, subscribed to this pull request, to #850 to #867 and to the rebuilt chain (previous: https://claude.ai/code/session_01Hr1rd8MVXyvU7qoMeruD1R, https://claude.ai/code/session_01Hr1rd7mthffYErGmWTGDfQ, https://claude.ai/code/session_01Hr1rd432Aef98ibnZSSsYn)


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Superseded: What state does a result have after a failed dbBind()?

Superseded by the updated question, since 3.54.1 shipped #868.

Merging main into #830 (8e907fd) is clean in text, but five expectations of tests/testthat/test-dbBind.R from #868 now fail, in "a failed dbBind() leaves a fetched result unbound", "a failed dbBind() leaves a statement unbound" and "an unsupported parameter type leaves a completed, unbound result". #830 and #868 agree that a failed dbBind() leaves the result unbound, so that dbFetch() raises "Query needs to be bound before fetching", but not on the rest. #868 sets complete_ = true before binding the first row, as a guard so that no fetch reads a reset statement, and its tests then pin dbHasCompleted() to TRUE and dbGetRowsAffected() to NA. #830 handles every failure of the bind in one catch that resets complete_ = false, since ready_ = false already stops the fetch, and counts the changes since the failed bind, so that the result looks as it did before its first bind except that rows already written are reported; its tests pin FALSE and 0, or 2 when the third of four inserts fails. Neither DBI nor DBItest specifies this state: DBItest's failure modes for dbBind() only require the error and a working dbClearResult(). On main, the state depends on where the bind failed: an SQLite error from the statement gives FALSE and a count, as on CRAN, while a value that fails to bind in the first row gives TRUE and NA. RSQLite 3.53.3 on CRAN gives FALSE and a count for a statement in every case.

library(DBI)
con <- dbConnect(RSQLite::SQLite())
dbExecute(con, "CREATE TABLE u (x INTEGER UNIQUE)")
res <- dbSendStatement(con, "INSERT INTO u VALUES (?)")

try(dbBind(res, list(c(1L, 5L))))  # UNIQUE fails while the first set runs
c(dbHasCompleted(res), dbGetRowsAffected(res))
#> CRAN, main and #830: FALSE 0

try(dbBind(res, list(list(1))))  # the first set fails to bind
c(dbHasCompleted(res), dbGetRowsAffected(res))
#> CRAN: FALSE 0; main: TRUE NA; #830: FALSE 0

If nobody decides, the session commits the recommended option on #830, and merges main on up the stack, and carries on.


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: which parts of the data-frame path through Arrow should the new stack carry?

Outcome: filed as #881; the new stack ends after group C, and group D is tracked there.

Group D of the plan, pull requests 19 to 23, would carry three features of the old stack over. #796 adds dbConnect(arrow = TRUE), which builds data frames from Arrow arrays; #802 adds a ptype argument to dbSendQuery(), dbGetQuery() and dbReadTable() that fails without arrow = TRUE; #807 adds dbConnect(lazy_strings = TRUE), which keeps strings as nanoarrow views. Each is a second conversion path next to the default one, which has to stay typed like the default path and be maintained with it; in #796's measurements, the Arrow path peaks at 823 MB where the default path peaks at 679 MB. This question was first asked on #829.

arrow and ptype are pull requests 19 to 22 of the plan and can be marked experimental, so that they can still change. lazy_strings adds pull request 23 and strings whose lifetime is tied to Arrow buffers rather than to R's string cache. Stopping after group C still gives users the native Arrow methods (pull requests 16 to 18), but data frames keep the default path only.

Kirill decides. Nothing in group D is written before an answer; if nobody decides, the stack ends after group C and the data-frame path stays as it is.


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: should an Arrow chunk whose warning exits be kept for the next fetch, rather than end the result?

Outcome: the chunk stays kept, as #862 and #864 do now; nothing changes.

In #862, when the coercion warning of a chunk ends in an error (options(warn = 2), an erroring or exiting handler), the chunk is kept and the next fetch returns it whole, whatever its n. Until then dbGetRowCount() leaves its rows out, dbHasCompleted() is FALSE, dbFetch() refuses, and dbBind() drops the chunk: src/SqliteResultImpl.cpp#L329-L354. The reprex and the details are in the original question on #862, and #862's "Accepted limitations" lists it as still open.

The simpler alternative raises the warning inside the try of the fetch loop, so that such an error ends the result as an error of dbFetch() does. That removes the kept chunk and its special cases in complete(), n_rows_fetched(), fetch() and bind(), about 50 lines with their tests, and the n of a fetch always holds. But the chunk's rows are lost, and so is the rest of the result: with options(warn = 2), the first chunk with a conversion ends the read. Keeping the chunk is the recommendation on the merits: a warning should never cost data, a loop until dbHasCompleted() still reads every row, and #864's stream relies on the kept chunk to go on after such an error. Since the mixed-fetch question is resolved as "no", the refusal of dbFetch() doesn't come up once a stream owns the result.

Kirill decides. If nobody decides, the chunk is kept, as #862 and #864 do now.

  • Keep the chunk, so that no row is lost and a loop until dbHasCompleted() reads them all (recommended)
  • End the result, as an error of dbFetch() does, and drop the kept chunk with its special cases

Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: does extension-functions.c, which states no licence, need more than the note in inst/COPYRIGHTS?

Outcome: the note in inst/COPYRIGHTS stays as it is, and #857 proceeds without a change to the extension.

src/vendor/extensions/extension-functions.c was bundled long before #857 and states no licence or copyright terms. Its history credits the original code to "relicoder" (2006), posted to the sqlite-users mailing list by "Mikey C" (2007, "if anyone wants the code, please take it"), and later versions to Liam Healy, whom Authors@R lists as a contributor. The new inst/COPYRIGHTS of #857 says so without guessing terms (inst/COPYRIGHTS#L24-L27). Neither the review nor this session could reach sqlite.org's contrib page, where the file comes from. First asked on #857, with a recommendation but no tick.

Keeping the note is the recommendation on the merits: it states what the sources say, the file has shipped with RSQLite for well over a decade, and its author's posting invites anyone to take the code. Looking the terms up costs a few minutes of someone who can reach sqlite.org and the mailing list archive, and adds a line to inst/COPYRIGHTS only if terms turn up. Replacing the extension removes functions such as median(), stdev() or padl() that users can call today, while SQLite's built-in math functions (#349) cover only part of it.

Kirill decides, as the maintainer. If nobody decides, the note stays as it is, and #857 proceeds without a change to the extension.

  • Keep the note in inst/COPYRIGHTS as it is, which states what the sources say (recommended)
  • Look up the terms on sqlite.org's contrib page and in the mailing list post, and state them in inst/COPYRIGHTS if there are any
  • Treat the terms as unclear and replace the extension, whose math functions SQLite now partly has built in (Enable built-in math functions #349); this changes what users can call

Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: should #826, #879 and #876 be fixed from main ahead of the Arrow stack?

Outcome: #826 and #879 are fixed each in its own pull request from main, to come; #876 is fixed from main once #856 has merged.

Three Low issues show on main and on CRAN, independently of the stack. #826: dbConnect() leaks the SQLite handle, about 800 bytes, when the database fails to open, because the constructor stops without closing it (src/DbConnection.cpp#L22); valgrind reports it against any package whose tests open a missing file, and the reporter gives a tested four-line fix in the issue. #879: dbFetch() leaks 40 bytes when a warning on a value that starts a new column storage is turned into an error, since the spill-over storage is a raw pointer while the value is converted (src/DbColumnStorage.cpp#L112); the fix is a std::unique_ptr. #876: the internal result entry points crash R when given a connection's pointer, since they check only for NULL (src/RSQLite_types.h#L16-L36); only code that calls them with ::: gets there.

No layer of the stack touches DbColumnStorage.cpp, and #826's fix sits in another hunk than #865's change to the same constructor, so both fixes merge up the stack without conflict. #876's fix, a tag that marks a result's pointer, goes into the as_cpp() functions that #856 rewrites to hold results through a shared pointer, so a fix from main now conflicts with every layer from #856 up and has to be redone there; after #856 merges, it is a small change on the new code. Waiting for the whole stack keeps #826's valgrind report, which shows in the checks of other packages, open until the stack lands.

Kirill decides. If nobody decides, nothing is started and the three issues stay open.


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: should #877, the date parser that misreads negative UTC offsets, be fixed in its own pull request from main?

Outcome: fixed in its own pull request from main that applies the offset, to come; #861's tests change when it is merged up.

With extended_types = TRUE, the parser that dbFetch() uses for TIMESTAMP, DATETIME and TIME columns reads '2024-01-02 12:00:00-05:00' as 12:00:00.05 UTC, without a warning: boost's tokenizer splits on - and takes the offset for the fraction of a second (src/SqliteColumnDataSource.cpp#L137-L194). Python's sqlite3 module writes aware timestamps in exactly this form, so values written west of UTC come back hours off; SQLite's own datetime() applies the offset. #877 rates it Medium, with a reprex. The Arrow arrays of #861 share the parser and pin today's values in their tests, so one fix changes both paths, and #861's expectations change with it when the fix is merged up.

Applying the offset, of either sign and with or without a colon, gives the instant that SQLite itself reads, which is what users who wrote these values expect; positive offsets and Z, which give NA with a warning today, can come along in the same change. Giving NA with a warning for any offset is smaller but throws away a value SQLite reads correctly. #394 would replace the boost parser altogether, but has no timeline.

Kirill decides. If nobody decides, the issue stays open, and dbFetch() and #861's arrays keep misreading these values.


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: do the rows that #868 discards on a failing parameter row stay tracked under #872?

Outcome: the case stays tracked under #872; no separate issue.

#868, merged today, makes dbBind() check SQLite's bind return codes. When a later parameter row fails to bind during dbFetch(), the rows already fetched in that call are discarded with the error. That is the same thing that happens on main for any SQLite error among the rows a fetch asks for, and #868's Accepted limitations lists it as tracked in #872. #872's description already names the #868 case, and its open checklist asks to implement the fix "for a plain query and for a later parameter set".

Both causes end in the same place in the fetch loop, so one change, returning the rows read before an error from a fetch with a finite n and raising the error from the next fetch, fixes both. A separate issue would split one decision, the one #872 asks for, over two places.

Kirill decides. If nobody decides, the case stays under #872.


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: is the question on moving rsqlite_is_utf8_string() out of the header resolved by #845?

Outcome: resolved by #845; nothing changes in code, and #799 and #795 stay as they are.

The original question on #829 asked whether the UTF-8 validator, defined inline in a src/utf8.h that #799 and #795 both added, should move to a new src/utf8.cpp, keeping only the declaration in the header. #845 now does exactly that: it defines the validator in src/utf8.cpp and declares it in src/utf8.h. #860, the text columns of the new Arrow stack, carries the same two files from #845's branch and calls the validator from there. #799 and #795 are drafts that are closed once #846 and the new stack replace them, and #845's own question about the conflict with #795's utf8.h is decided by default.

Nothing is left to do in code. Changing the superseded drafts as well would only touch branches that are about to be closed.

Kirill decides. If nobody decides, nothing changes in code, and the question is treated as resolved when #845 merges.


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: should "a result of a closed connection keeps working" become an issue?

Outcome: filed as #882, which proposes an RSQLite error for results of a closed connection.

On main, and unchanged by #865, a fetch or bind on a result that wasn't cleared before dbDisconnect() still works as long as no other connection holds a lock; with a lock it fails with SQLite's "database is locked". No RSQLite-specific "connection closed" error comes first. #865's second review noted it, an earlier copy of its Accepted limitations listed it, and the current copy dropped it because main behaves the same. The rule is that behavior main already shows becomes an issue, if it is a defect.

It hardly is one. dbDisconnect() already warns when results are still open, and DBItest expects nothing of such results beyond that warning. An error before every call on such a result would break code that works today, and the lock message is now SQLite's own, which names the cause. An issue that only documents the behavior would sit open without a plan.

Kirill decides. If nobody decides, no issue is opened and the behavior stays as on main.

  • No issue: the result keeps working as on main, which DBI doesn't forbid; this answer is the record (recommended)
  • Open a Low issue with a reprex that documents the behavior, without planning a change
  • Open an issue proposing that results of a closed connection fail with an RSQLite error, which breaks code that fetches after disconnecting

Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: close #704?

Outcome: the maintainer handles #704 himself; this session doesn't comment on it.

#704, a contribution from outside, edits the generated README.md instead of README.Rmd, cuts off the closing </pre> of the example above it (diff), and describes an "Import Data" screen and an "import" button that RSQLite doesn't have. RSQLite imports a CSV file with dbWriteTable(con, "name", "file.csv"). First asked on #829.

Any option that comments on #704 notifies the contributor. A short thank-you that points to the right file and function costs a minute and leaves the contributor with something useful; asking for changes would need a rewrite of the whole text.

Kirill decides. If nobody decides, #704 stays open, as it has since 2026-03-20.

  • Close it with a short thank-you that points to README.Rmd and to dbWriteTable() with a file name (recommended)
  • Close it without a comment
  • Keep it open and ask for changes
  • The maintainer handles contributions himself (answered in a comment)

Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: how to proceed with #759?

Outcome: the maintainer handles #759 himself; this session doesn't post on it.

#759, a contribution from outside, documents the entry points to remote databases. Its review, held on #829, found one Medium: the help page presents the explicit file:https://…?vfs=http form as working on its own, while the http VFS is registered only once something has called sqliteHasHttpVFS() or initExtension(con, "http") in the session, so the documented call fails in a fresh session. It also found four Lows on wording and style. The format-suggest failure that the contributor asked about came from main at the time and has passed on the current head since 2026-10-20. First asked on #829.

Posting the review and asking for the Medium fix costs one round with the contributor; merging as is ships a help page that leads to no such vfs: http, to be fixed in a follow-up on main. Any option that posts on #759 notifies the contributor.

Kirill decides. If nobody decides, #759 stays open and the contributor's question stays unanswered.


Generated by Claude Code

krlmlr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: should R wait for a stream read on another thread?

Outcome: pull request 15 of the plan fails at once with a clear error naming the stream read on another thread.

arrow's scanner and Acero read a stream ahead on worker threads while R goes on running, which pull request 15 of the plan supports. R's own calls on the same result (a fetch, a bind, dbColumnInfo()) can then meet a worker in the middle of a read. In the new stack, the busy guard of #830 refuses a second call into a result while one runs, through a plain flag on the main thread (src/DbResult.cpp#L46-L62 at the top of the stack, #867); the old stack's #795 turned it into an atomic owned by one thread, so that two threads are never in the result at once, and pull request 15 would carry that over. #864 and #865 leave everything about worker threads to pull request 15 (#864's question, #865's question). First asked on #829 for the old stack's #795.

What remains is what R's call does while a worker reads. Failing at once with an error that names the stream read on another thread is simple, never blocks R, and the user retries later; the case is rare, since the mixed-fetch question is resolved as "no", so that a result read as a stream refuses data-frame fetches anyway. Waiting needs a mutex per result; it cannot deadlock, since the worker never waits for R, but it blocks R for as long as one batch takes to read.

Kirill decides. If nobody decides by the time pull request 15 is due, it fails at once, as recommended.

  • Fail at once with a clear error naming the stream read on another thread; the user retries later (recommended: simple, no blocking, and the case is rare)
  • Wait until the worker's current call returns (a mutex per result), then proceed

Generated by Claude Code

@krlmlr

krlmlr commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Re "Question: which parts of the data-frame path through Arrow should the new stack carry?": File an issue for group D.

Dealing with contributions myself.

I responded. Any questions missing?

krlmlr commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Question: should #852's help page show the internal slot_or_default() as the defaults of dbConnect() on a connection?

#852 (branch claude/clone-keeps-options, head 6739682) gives dbConnect_SQLiteConnection() explicit formals, so that a clone keeps the settings of its connection unless they are passed. Since 48ef91f, which lets a connection saved by an older RSQLite be cloned although it lacks the bigint, extended_types or check_utf8 slot, those three formals default to an unexported helper, slot_or_default(drv, "bigint", "integer64") and so on (R/dbConnect_SQLiteConnection.R#L1-L12). roxygen copies the formals into the usage section, so ?SQLite shows the helper's name to users, who can't call it without ::: (man/SQLite.Rd#L31-L33). The other formals show the plain slot, such as flags = drv@flags.

Defaulting to drv@bigint, drv@extended_types and drv@check_utf8 again, and replacing a missing argument whose slot is absent in the body (if (missing(bigint)) bigint <- slot_or_default(drv, "bigint", "integer64"), before the default is ever evaluated), keeps old connections working and makes the help page read like the rest of the usage; it costs three lines in the body, and the test that compares the formals with those of dbConnect_SQLiteDriver() is unaffected, since it checks names. Documenting the helper in prose leaves the usage as it is and explains it under drv. Accepting it changes nothing.

Kirill decides. If nobody decides, #852 keeps the current state, listed as an accepted limitation.

  • Default to drv@bigint, drv@extended_types and drv@check_utf8 in the formals again, and handle a missing slot inside the function body, so that the help page shows the plain slot (recommended)
  • Keep the formals as they are, and explain slot_or_default() in the documentation of drv
  • Keep it as it is, as an accepted limitation of fix: dbConnect() on a connection keeps bigint, extended_types and check_utf8 #852

Generated by Claude Code

krlmlr commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Question: may pull requests 13 to 18 of the plan start?

The plan holds these six for the maintainer's go:

  • 13: build Arrow arrays of requested integer, unsigned, boolean and float types
  • 14: build requested large, date64, time and timestamp arrays in any unit and time zone
  • 15: read Arrow streams on worker threads, as arrow's scanner and Acero do; R's own call on a result that a worker is reading now fails at once with a clear error (decided)
  • 16: implement dbSendQueryArrow(), dbFetchArrow() and dbFetchArrowChunk() natively
  • 17: implement dbBindArrow(), dbAppendTableArrow(), dbCreateTableArrow() and dbWriteTableArrow() natively
  • 18: request Arrow types for result columns with schema

13 and 14 only add array builders for requested types to the internal engine, behind unexported entry points, so they don't change what users see and don't depend on the open question on the state of a result after a failed dbBind(). 15 to 18 touch the busy guard, binding and the public methods, which that answer shapes; starting them first would mean redoing their tests once it is settled. Group D (19 to 23) is deferred to #881. Waiting for the existing stack (#850 to #867) to merge keeps the number of open layers down, at the cost of the time until then.

Kirill decides. If nobody decides, nothing starts.


Generated by Claude Code

krlmlr commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Noted, thanks. One question is still open, and two were missing from #880; they are posted now:

From the answers: group D is tracked in #881, the closed-connection proposal is #882, and the fixes for #826, #879 and #877 are being written as separate pull requests from main; #876 follows once #856 merges.


Generated by Claude Code

krlmlr commented Nov 29, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: what state does a result have after a failed dbBind(), now that 3.54.1 shipped #868?

Outcome: one state for every failed bind, #830's (FALSE and the changes since that bind); implemented on #830 (1edd8f4) with a NEWS.md bullet and merged up the stack.

This replaces the question of 2026-11-13, which nobody has answered. Two facts have changed since. First, #868 is part of RSQLite 3.54.1 on CRAN (2026-11-28, NEWS.md lists it), so its state after a failed bind is no longer unreleased. Second, the first reprex of the old question did not fail at all (1 and 5 are unique in an empty table); the corrected one is below, run against the CRAN binary of 3.54.1 today.

library(DBI)
con <- dbConnect(RSQLite::SQLite())
dbExecute(con, "CREATE TABLE u (x INTEGER UNIQUE)")
res <- dbSendStatement(con, "INSERT INTO u VALUES (?)")

try(dbBind(res, list(c(1L, 2L, 1L, 3L))))  # UNIQUE fails on the third row
#> Error : UNIQUE constraint failed: u.x
c(dbHasCompleted(res), dbGetRowsAffected(res))
#> 3.54.1: FALSE 2; #830: FALSE 2

try(dbBind(res, list(list(1))))  # the first row fails to bind
#> Error : Can only bind lists of raw vectors (or NULL)
c(dbHasCompleted(res), dbGetRowsAffected(res))
#> 3.54.1: TRUE NA; #830: FALSE 0

#830 handles every failure of a bind in one catch that resets complete_ = false, while #868's tests, merged into #830, pin TRUE and NA (tests/testthat/test-dbBind.R#L83-L139). So #830's head fails its smoke test (run), and every layer above it inherits those five failing expectations as main is merged up. DBI and DBItest specify neither state; dbFetch() refuses to run in both, so the failure stays loud either way.

Implemented on 2026-11-30: the recommended option is on #830 (1edd8f4) and merged up the stack, since CI could not turn green otherwise: only the five expectations in tests/testthat/test-dbBind.R changed, and NEWS.md has a bullet.

Kirill decides, as the maintainer, since the first and third option change released behavior. If nobody decides, nothing is committed: #830 and the layers above it stay red on these five expectations, and the rest of the merge of main up the stack goes ahead.


Generated by Claude Code

krlmlr commented Nov 29, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: should the merge conflicts of the superseded and dormant drafts be resolved too?

Outcome: all eight stay as they are; the old stack is closed once the new one merges.

Five open pull requests conflict with their base besides the new Arrow stack. #795, the bottom of the old Arrow stack (#795, #796, #800, #801, #802, #807), conflicts with main, which has gained 62 commits since, among them the UTF-8 validator of #845 that collides with #795's own src/utf8.h, and the SQLite 3.54.1 upgrade; the five layers above #795 would each need the merge carried up. This coordination PR's body says each of them is closed once its replacement merges, and #881 tracks the part of group D they carry. #465 ("Crash after including cpp11 headers", last commit 2023-06-19) and #437 ("WIP: Generated by use_dbitest()", last commit 2022-10-15) are dormant drafts whose code predates most of today's src/.

Resolving the old stack costs six merges of a large native implementation into code that the new stack replaces, each with a build and a test run, and the result is never meant to merge. For #465 and #437, a merge of three to four years of main amounts to rewriting them.

If nobody decides, the eight stay as they are. #704 and #759 come from forks and are left to the maintainer, as decided.


Generated by Claude Code

This was referenced Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sqliteSetBusyHandler(con, NULL) crashes R on the next busy event dbFetch() wraps text beyond the 32-bit range to a wrong integer in an integer column

2 participants