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

Using custom RelBuilder for FilterRemoveIsNotDistinctFromRule

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.16.0
    • 1.17.0
    • core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vitalii Vitalii Diravka
            vitalii Vitalii Diravka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment