Skip to content

test: Run the DBItest specs up to 1.9.0 - #629

Merged
krlmlr merged 2 commits into
mainfrom
claude/dbitest-1.8.3.6
Nov 29, 2026
Merged

krlmlr merged 2 commits into
mainfrom
claude/dbitest-1.8.3.6

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

This PR raises the dbitest_version tweak in tests/testthat/helper-DBItest.R from "1.7.2" to "1.9.0", the DBItest release whose newest spec gate is 1.8.3.6, so that RPostgres runs the most recent DBItest tests. The commented-out Redshift context shares the same tweaks, so there is only one value to bump.

The bump newly enables fetch_na_rows (gated at 1.7.4), the Arrow generics in the reexport check (1.7.99.1 and 1.7.99.11), and the specs gated with skip_if_not_dbitest() between 1.7.99.2 and 1.8.3.6. Those are mostly Arrow specs: arrow_read_table_arrow*, arrow_send_query_*, clear_result_return_query_arrow, cannot_clear_result_twice_query_arrow, the zero-length, factor and raw bind specs for Arrow and streams, unquote_identifier_plain, arrow_get_query_arrow_*, arrow_create_table_arrow_*, create_table_value_df, create_table_value_array, arrow_fetch_arrow*_closed, the arrow_write_table_arrow_* and arrow_append_table_arrow_* roundtrip, temporary, append, overwrite and error specs, and the schema specs gated at 1.8.3.1 to 1.8.3.6 (arrow_fetch_arrow_schema, arrow_get_query_arrow_schema, arrow_get_query_arrow_schema_zero_rows, arrow_fetch_arrow_chunk_schema, arrow_read_table_arrow_64_bit, arrow_send_query_schema_stable).

In a local run against PostgreSQL 16 with DBItest from main, four of the newly enabled specs failed, so I added them to default_skip with a comment instead of lowering the version. fetch_na_rows fails because dbFetch(n = NA) errors. reexport fails because RPostgres does not reexport the Arrow generics from DBI. arrow_write_table_arrow_roundtrip_timestamp_extended and arrow_append_table_arrow_roundtrip_timestamp_extended fail because nanoarrow warns about lossy conversion. With these skips, the DBItest suite passes locally (8941 passed, 0 failed). Each of the four could be fixed in RPostgres later.

The regular R-CMD-check workflow installs DBItest from CRAN through Suggests, and CRAN has DBItest 1.8.3. The specs gated at 1.8.3.1 to 1.8.3.6 therefore only run in CI after DBItest 1.9.0 reaches CRAN. Only the scheduled rcc dev workflow uses the development version from r-universe.

Related: r-dbi/DBItest#595

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH

@krlmlr krlmlr changed the title test: Run the DBItest specs up to 1.8.3.6 test: Run the DBItest specs up to 1.9.0 Nov 28, 2026
@krlmlr
krlmlr merged commit 41cd4be into main Nov 29, 2026
9 checks passed
@krlmlr
krlmlr deleted the claude/dbitest-1.8.3.6 branch November 29, 2026 06:14
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.

2 participants