Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2242

Using custom RelBuilder for FilterRemoveIsNotDistinctFromRule

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.16.0
    • Fix Version/s: 1.17.0
    • Component/s: core
    • Labels:
      None

      Description

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

      LogicalFilter(condition=[IS NOT DISTINCT FROM($7, 20)])
        LogicalTableScan(table=[[scott, EMP]])
      

      -->

      LogicalFilter(condition=[CASE(IS NULL($7), IS NULL(20), =(CAST($7):TINYINT NOT NULL, 20))])
        LogicalTableScan(table=[[scott, EMP]])
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vitalii Vitalii Diravka
                Reporter:
                vitalii Vitalii Diravka
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: