Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Bug: "duration" alias not working as per docs #5106

@prrao87

Description

@prrao87

Kuzu version

v0.8.2.dev25

What operating system are you using?

macOS

What happened?

In the docs for the INTERVAL data type we say that its alias is called DURATION.

kuzu> RETURN interval("1 year 2 days") as x;
┌───────────────┐
│ x             │
│ INTERVAL      │
├───────────────┤
│ 1 year 2 days │
└───────────────┘
(1 tuple)
(1 column)
Time: 21.34ms (compiling), 0.46ms (executing)

However, when we try to use the alias, it doesn't work.

kuzu> RETURN duration("1 year 2 days") as x;
Error: Catalog exception: function DURATION does not exist.

Duration is a recognizable term (Neo4j uses it), so we should enable this alias too.

Are there known steps to reproduce?

No response

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions