Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd432Aef98ibnZSSsYn
Superseded: What state does a result have after a failed
|
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
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 |
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 ( The simpler alternative raises the warning inside the Kirill decides. If nobody decides, the chunk is kept, as #862 and #864 do now.
Generated by Claude Code |
Resolved: does
|
Resolved: should #826, #879 and #876 be fixed from
|
Resolved: should #877, the date parser that misreads negative UTC offsets, be fixed in its own pull request from
|
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 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 Kirill decides. If nobody decides, the case stays under #872.
Generated by Claude Code |
Resolved: is the question on moving
|
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 It hardly is one. Kirill decides. If nobody decides, no issue is opened and the behavior stays as on
Generated by Claude Code |
Resolved: close #704?Outcome: the maintainer handles #704 himself; this session doesn't comment on it. #704, a contribution from outside, edits the generated 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.
Generated by Claude Code |
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 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 Kirill decides. If nobody decides, #759 stays open and the contributor's question stays unanswered.
Generated by Claude Code |
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, 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.
Generated by Claude Code |
|
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? |
Question: should #852's help page show the internal
|
Question: may pull requests 13 to 18 of the plan start?The plan holds these six for the maintainer's go:
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 Kirill decides. If nobody decides, nothing starts.
Generated by Claude Code |
|
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 Generated by Claude Code |
Resolved: what state does a result have after a failed
|
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 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
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 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.dbFetch()applies a UTC offset in TIMESTAMP and TIME columns as SQLite does #885 fix: UTC offsets in TIMESTAMP and TIME columns (bottom,dbFetch()misreads a negative UTC offset in a TIMESTAMP or TIME column, without a warning #877)dbBind()binds a list whose names are all empty by position #927 B0 fix:dbBind()with all-empty namesdbClearResult()refuses a result while one of its fetches or binds runs #934 B3 fix: the busy guard (from fix: Never restart a statement after an error indbFetch()ordbBind()#830)dbFetch()never restarts a statement after an error #935 B4 fix:dbFetch()never restarts a statement after an error (from fix: Never restart a statement after an error indbFetch()ordbBind()#830)dbBind()#936 B5 fix: one state after a faileddbBind()(from fix: Never restart a statement after an error indbFetch()ordbBind()#830, as decided)sqliteIsTransacting()crashes R on a disconnected connection #939)dbFetch()that hits an SQLite error returns none of the rows it read before the error #872)dbExecute()runs every parameter set of a statement withRETURNING#948 B8 fix:dbExecute()runs every parameter set of a statement withRETURNING(dbExecute()withRETURNINGand several parameter sets runs only the first set and returns 0 #946)dbColumnInfo()anddbFetch(n = 0)decide column types without converting values #951 R4 refactor: column types decided without converting valuesextended_types#960 F3: date32, time64 and timestamp arraysdbBind(), and tidy up after the stack review #976, fix: Raise the warnings ofdbFetch()after the fetch, and fix the read-side findings of the stack review #977: fixes from the review of the whole stack (data-framedbBind()refuses unbindable input before binding;dbFetch()warnings no longer end the execution)dbSendQueryArrow(),dbFetchArrow()anddbFetchArrowChunk()natively #981 plan item 16: nativedbSendQueryArrow(),dbFetchArrow(),dbFetchArrowChunk(),dbGetQueryArrow(),dbBindArrow()dbAppendTableArrow(),dbCreateTableArrow()anddbWriteTableArrow()natively #982 plan item 17: nativedbCreateTableArrow(),dbAppendTableArrow(),dbWriteTableArrow(); waits for a decision on a fourth review roundschema#984 plan item 18:schemafor result columns (top)Outside the stack, from
main: #958 (fixes #957) and #969 (fixes #968, a crash insqliteSetBusyHandler(con, NULL)), both reviewed and ready.Found by the reviews on
mainand 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
dbGetQuery(n = )and a refused later parameter set, on #933dbSendStatement(), on #948dbColumnInfo()anddbFetch(n = 0), on #951LinkingTo: nanoarrow(default implemented), on feat: Fetch a result as Arrow struct chunks through a row sink #954int64column, on #956date32andtime64can't hold, on #960dbClearResult(), on #966booland values other than 0 and 1, on #979large_columns and text without an offset under a named zone, on feat: Build requested large, date64, time and timestamp arrays in any unit and time zone #980slot_or_default()as defaults on #852's help pageDecided on 2026-11-30
dbBind(): one state, fix: Never restart a statement after an error indbFetch()ordbBind()#830'sDecided on 2026-11-13
extension-functions.c, on #857: the note ininst/COPYRIGHTSstaysmain: dbConnect() leaks the SQLite handle when the database fails to open #826 anddbFetch()leaks 40 bytes when a warning on a value that starts a new column storage is turned into an error #879 each in its own pull request frommain, to come; Internal result entry points crash when given a connection's pointer #876 once refactor: Own results through a shared pointer, as connections are #856 has mergedmainthat applies the offset, to comedbFetch()that hits an SQLite error returns none of the rows it read before the error #872Coordinating 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