You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2025/10/31 15:58:00 UTC

[jira] [Commented] (CALCITE-7258) Strict type validation for Filter conditions created via RelBuilder

    [ https://issues.apache.org/jira/browse/CALCITE-7258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034431#comment-18034431 ] 

Julian Hyde commented on CALCITE-7258:
--------------------------------------

Does “RelBuilder.filter should throw if the condition does not have BOOLEAN type” capture it?

> 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)