Repository navigation
test: Run the DBItest specs up to 1.9.0 - #629
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR raises the
dbitest_versiontweak intests/testthat/helper-DBItest.Rfrom "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 thereexportcheck (1.7.99.1 and 1.7.99.11), and the specs gated withskip_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, thearrow_write_table_arrow_*andarrow_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 todefault_skipwith a comment instead of lowering the version.fetch_na_rowsfails becausedbFetch(n = NA)errors.reexportfails because RPostgres does not reexport the Arrow generics from DBI.arrow_write_table_arrow_roundtrip_timestamp_extendedandarrow_append_table_arrow_roundtrip_timestamp_extendedfail 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 scheduledrcc devworkflow uses the development version from r-universe.Related: r-dbi/DBItest#595
🤖 Generated with Claude Code
https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH