Skip to content

Relax error criterion #8

@krlmlr

Description

@krlmlr

The test that checks the failure to read a Parquet file with an invalid key is too specific.

expect_error(
read_parquet(temp_file, decryption_key = invalid_decryption_key),
"rapi_execute: Failed to run query"
)

With duckdb 1.3.3, the error message format has changed slightly, see github.com/duckdb/duckdb-r/pull/1479 for details. You should be able to check for the duckdb_error class or to match a substring of the message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions