[
https://issues.apache.org/jira/browse/CALCITE-7258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034436#comment-18034436
]
Zhen Chen commented on CALCITE-7258:
------------------------------------
It is possible that this is not comprehensive; LogicalFilter.create can also be
called separately to create a Filter. "Filter creation should throw an error if
the condition is not of BOOLEAN type",what do you think
> Strict type validation for Filter conditions created via RelBuilder
> -------------------------------------------------------------------
>
> Key: CALCITE-7258
> URL: https://issues.apache.org/jira/browse/CALCITE-7258
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.40.0
> Reporter: Zhen Chen
> Assignee: Zhen Chen
> Priority: Minor
> Labels: pull-request-available
>
> As discussed in CALCITE-6448, the creation of a Filter in RelBuilder has been
> updated to validate that the condition is of Boolean type. This change aligns
> the logic at the RelNode level with that at the SqlNode level.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)