Skip to content

[validation]: TestSqlIngestErrors asserts sqlstate but some databases does not return sqlstate #126

@Mandukhai-Alimaa

Description

@Mandukhai-Alimaa

In TestSqlIngestErrors, the validation suite asserts that a specific SQLSTATE (42S02) must be returned when appending to a non-existent table. But some databases do not return a 5-character SQLSTATE. This is causing the test to fail even though the driver correctly identifies the error and returns a non-OK status.

https://github.com/adbc-drivers/driverbase-go/blob/main/validation/validation.go#L1302

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions