DBItest skips its 64-bit Arrow round-trip specs unconditionally
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
Direzione di ricerca
Leggi le sei specifiche a 64 bit di DBItest in spec-arrow-write-table-arrow.R e spec-arrow-append-table-arrow.R nei punti citati. Inizia confrontando le loro esclusioni incondizionate con le specifiche di round-trip adiacenti e il comportamento di test_arrow_roundtrip(). Il lavoro è completato quando queste specifiche eseguono i round-trip di scrittura e aggiunta a 64 bit senza esclusioni incondizionate; l’issue propone anche di coprire i round-trip Arrow int64 nei test propri di RPostgres.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
All six 64-bit Arrow round-trip specs in DBItest (arrow_{write,append}_table_arrow_roundtrip_64_bit_{numeric,character,roundtrip}) start with an unconditional skip("Internal: Need to enhance test_arrow_roundtrip()"). RPostgres's DBItest run therefore does not exercise 64-bit values through dbWriteTableArrow() and dbAppendTableArrow(), which is why the int64 precision loss in #640 goes unnoticed by the spec suite.
Location: DBItest, spec-arrow-write-table-arrow.R (also L431, L447) and spec-arrow-append-table-arrow.R (also L202, L219).
Reprex against the CRAN release:
specs <- c(DBItest:::spec_arrow_write_table_arrow, DBItest:::spec_arrow_append_table_arrow)
sk <- specs[grepl("64_bit", names(specs))]
vapply(sk, function(f) deparse(body(f)[[2]]), "")
#> arrow_write_table_arrow_roundtrip_64_bit_numeric
#> "skip(\"Internal: Need to enhance test_arrow_roundtrip()\")"
#> arrow_write_table_arrow_roundtrip_64_bit_character
#> "skip(\"Internal: Need to enhance test_arrow_roundtrip()\")"
#> arrow_write_table_arrow_roundtrip_64_bit_roundtrip
#> "skip(\"Internal: Need to enhance test_arrow_roundtrip()\")"
#> arrow_append_table_arrow_roundtrip_64_bit_numeric
#> "skip(\"Internal: Need to enhance test_arrow_roundtrip()\")"
#> arrow_append_table_arrow_roundtrip_64_bit_character
#> "skip(\"Internal: Need to enhance test_arrow_roundtrip()\")"
#> arrow_append_table_arrow_roundtrip_64_bit_roundtrip
#> "skip(\"Internal: Need to enhance test_arrow_roundtrip()\")"
# Expected: no unconditional skip()
as.data.frame(sessioninfo::package_info("DBItest", dependencies = FALSE))[c("package", "ondiskversion", "source")]
#> package ondiskversion source
#> DBItest DBItest 1.9.0 RSPM
Created on 2026-11-29 with reprex v2.1.1
- report upstream (DBItest)
- meanwhile, test int64 Arrow round trips in RPostgres's own tests
Severity: low (proposed, Kirill may change). No user-facing failure, but a gap in test coverage.
Native Arrow support is coordinated in https://github.com/r-dbi/RPostgres/pull/631; it is not expected to fix this by construction, and native int64 support goes untested by DBItest until DBItest enables these specs.
- Lingua principale
- R
- Stelle
- 345
- Fork
- 81
- Merge medio
- 8h 21m
- PR unite (30g)
- 18
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di r-dbi/RPostgres
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Dates and timestamps outside years 0001 to 9999, and `infinity`, are read as garbage, with a probable out-of-bounds readForse già presa @krlmlr l’ha presa oggi. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
performance
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di r-dbi/RPostgres
Issue simili
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vincentarelbundock/xtx#11 ·
-
Check that backends override both `dbFetchArrowChunk()` and `dbClearArrowChunk()`, or neitherAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
priority:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
ichirio/rtfreporter#1166 ·
I maintainer di solito rispondono entro 1 giorno