Skip to content

[SQL] cannot find function cast_to_i8_LongInterval_YEARS #5894

@wilmaontherun

Description

@wilmaontherun

Environment:

https://try.feldera.com/

SQL program:

CREATE VIEW cast_032 AS SELECT CAST(INTERVAL '1' YEAR AS TINYINT)

Error message:

error[E0425]: cannot find function cast_to_i8_LongInterval_YEARS in this scope
--> crates/feldera_pipe_operator_098c5ac7854648a5/src/lib.rs:72:104
|
72 | ..., &sourceMap, cast_to_i8_LongInterval_YEARS(LongInterval::from_months(12)))));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: cast_to_VN_LongInterval_YEARS
|
::: /home/ubuntu/feldera/crates/sqllib/src/casts.rs:3591:1
|
3591 | cast_variant!(LongInterval_YEARS, LongInterval, LongInterval);
| ------------------------------------------------------------- similarly named function cast_to_VN_LongInterval_YEARS defined here
error: could not compile feldera_pipe_operator_098c5ac7854648a5 (lib) due to 1 previous error

Metadata

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