Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19811

FlinkRexUtil#simplify should simplify search in conjunctions

    XMLWordPrintableJSON

Details

    Description

      The new version of Calcite introduces the SEARCH rex call to express range conditions. However SEARCH}}s in conjunctions are currently not simplified. For example, {{AND(=($2, 2020), SEARCH($2, Sarg[2020, 2021])) is not simplified while it should be simplified to =($2, 2020).

      This issue is caused by CALCITE-4364. We could currently extend the RexSimplify class to temporarily cover this issue.

      Attachments

        Issue Links

          Activity

            People

              godfreyhe godfrey he
              TsReaper Caizhi Weng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: