You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/04/06 14:39:00 UTC

[jira] [Created] (CALCITE-2242) Using custom RelBuilder for FilterRemoveIsNotDistinctFromRule. Test case for the rule.

Vitalii Diravka created CALCITE-2242:
----------------------------------------

             Summary: Using custom RelBuilder for FilterRemoveIsNotDistinctFromRule. Test case for the rule.
                 Key: CALCITE-2242
                 URL: https://issues.apache.org/jira/browse/CALCITE-2242
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.16.0
            Reporter: Vitalii Diravka
            Assignee: Vitalii Diravka
             Fix For: 1.17.0


FilterRemoveIsNotDistinctFromRule doesn't leverage custom RelBuilder.
There is no test case for this rule.

{code}
LogicalFilter(condition=[IS NOT DISTINCT FROM($7, 20)])
  LogicalTableScan(table=[[scott, EMP]])
{code}
-->
{code}
LogicalFilter(condition=[CASE(IS NULL($7), IS NULL(20), =(CAST($7):TINYINT NOT NULL, 20))])
  LogicalTableScan(table=[[scott, EMP]])
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)