We currently do not allow view queries and UDF body statements to contain CAST expressions when their input contains a subquery and the target type is an ENUM. Prior to XXX this would cause internal errors. See this comment for an explanation of why this is not an easy limitation to lift, at the moment.
See issues #105259 and #107654.
See PRs #106868 and #108188.
Jira issue: CRDB-30355
We currently do not allow view queries and UDF body statements to contain CAST expressions when their input contains a subquery and the target type is an ENUM. Prior to XXX this would cause internal errors. See this comment for an explanation of why this is not an easy limitation to lift, at the moment.
See issues #105259 and #107654.
See PRs #106868 and #108188.
Jira issue: CRDB-30355