DBItest skips its 64-bit Arrow round-trip specs unconditionally
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
Línea de trabajo
Lee las seis especificaciones de 64 bits de DBItest en spec-arrow-write-table-arrow.R y spec-arrow-append-table-arrow.R en las ubicaciones citadas. Empieza comparando sus omisiones incondicionales con las especificaciones de round-trip adyacentes y el comportamiento de test_arrow_roundtrip(). Se considera terminado cuando estas especificaciones ejecuten los round-trips de escritura y anexado de 64 bits sin omisiones incondicionales; el issue también propone cubrir los round-trips de Arrow int64 en las propias pruebas de RPostgres.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- R
- Estrellas
- 345
- Forks
- 81
- Merge medio
- 8 h 21 min
- PR fusionados (30 d)
- 18
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de r-dbi/RPostgres
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dates and timestamps outside years 0001 to 9999, and `infinity`, are read as garbage, with a probable out-of-bounds readPosiblemente ocupada @krlmlr la tomó hoy. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
performance
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de r-dbi/RPostgres
Issues similares
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vincentarelbundock/xtx#11 ·
-
Check that backends override both `dbFetchArrowChunk()` and `dbClearArrowChunk()`, or neitherAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
priority:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
ichirio/rtfreporter#1166 ·
Los mantenedores suelen responder en 1 día