Skip to content

interval.slt tests fail in main #6246

@berkaysynnada

Description

@berkaysynnada

Describe the bug

Error messages of coercing temporal types have changed. cargo test fails with the error:

[interval.slt] Running query: "select '1 month'::interval - '1980-01-01'::date;"
Error: query is expected to fail with error:
        DataFusion error: Error during planning: interval can't subtract timestamp/date
but got error:
        DataFusion error: type_coercion
caused by
Error during planning: interval can't subtract timestamp/date
[SQL] select '1 month'::interval - '1980-01-01'::date;
at tests/sqllogictests/test_files/interval.slt:330

To Reproduce

run the slt tests

Expected behavior

error messages need to be updated.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions