Skip to content

Short type mismatch for intervals between the doc and the implementation #240

Closed
@ajegou

Description

In the documentation short types for interval_day and interval_year are iday iyear:

Screenshot 2024-03-29 at 17 36 15

but the code that does the mapping between type and short type uses day and year instead:

Screenshot 2024-03-29 at 17 36 40

and substrait fails to find the function when loading a logical plan, for example:

java.lang.IllegalArgumentException: Unexpected scalar function with key date_bin:iday_tstz_tstz.
 The namespace ***.yaml is loaded but no scalar function with this key found.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions