Skip to content

[SQL] SAFE_CAST(NULL AS USER DEFINED type) fails SQL COMPILATION #5391

@rivudhk

Description

@rivudhk

Following SQL:

CREATE TYPE user_def_row AS (val ROW(i1 INT, v1 VARCHAR NULL));

CREATE MATERIALIZED VIEW v AS SELECT
SAFE_CAST(NULL AS user_def_row) AS to_roww;

error: Compiler error
Unexpected source type struct ?
We would appreciate if you could report an issue at https://github.com/feldera/feldera/issues

Metadata

Metadata

Assignees

Labels

SQL compilerRelated to the SQL compiler

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions