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

Upgrade Calcite version to 1.30

    XMLWordPrintableJSON

Details

    Description

      The latest available version of Calcite is currently 1.30. We already need to execute the rework that was planned when upgrading to Calcite 1.27 FLINK-20873 and when upgrading to Calcite 1.28 FLINK-21239

      When doing this upgrade, we should do this to the last available version. This is needed to resolve multiple bugs.

      Additional note: Flink currently uses Calcite 1.26.0 which has this note on the release page:

      Warning: Calcite 1.26.0 has severe issues with RexNode simplification caused by SEARCH operator ( wrong data from query optimization like in CALCITE-4325, CALCITE-4352, NullPointerException), so use 1.26.0 for development only, and beware that Calcite 1.26.0 might corrupt your data.
      https://calcite.apache.org/news/2020/10/06/release-1.26.0/

      The following files should be removed from the Flink code base when upgrading calcite to 1.30.0

      in `org.apahce.calcite.rel.core`:

      • Correlate
      • Filter
      • Intersect
      • Minus
      • SetOp
      • Sort
      • Union
      • Values
      • Window

      in `org.apahce.calcite.rel.hint`:

      • HintPredicates
      • NodeTypeHintPredicate

      in `org.apahce.calcite.rel.logical`:

      • LogicalCorrelate
      • LogicalFilter
      • LogicalIntersect
      • LogicalMinus
      • LogicalSort
      • LogicalUnion
      • LogicalValues
      • LogicalWindow

      Attachments

        Issue Links

          Activity

            People

              Sergey Nuyanzin Sergey Nuyanzin
              martijnvisser Martijn Visser
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: