Skip to content

interval.slt tests fail in main #6246

Closed

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

Activity

  1. alamb commented on May 5, 2023

    @alamb
    Contributor

    I believe @jackwener fixed this in #6242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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