Skip to content

INTERVAL + timestamp and INTERVAL + date not supported (but timestamp + INTERVAL and date + INTERVAL is) #6180

@jackwener

Description

@jackwener

Describe the bug

current df don't support interval in left.

select interval '1 month' + '2023-05-01'::date;

This feature is not implemented: Unsupported interval argument. Expected string literal, got: BinaryOp { left: Value(SingleQuotedString("1 month")), op: Plus, right: Cast { expr: Value(SingleQuotedString("2023-05-01")), data_type: Date } }

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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