Skip to content

select extract(epoch from ('15 minutes')::interval) gives wrong result #19799

Closed

Description

@adriangb

Describe the bug

Run select extract(epoch from ('15 minutes')::interval); gives 0.0 in datafusion-cli, 900.0 in DuckDB and Postgres.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Activity

  1. added theissue type on Jan 14, 2026
  2. lemorage commented on Jan 14, 2026

    @lemorage
    Contributor

    take this

  3. added a commit that references this issue on Jan 16, 2026
    5edda9b
  4. added a commit that references this issue on Mar 24, 2026
    20980a5
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions