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

Pass an expression executor to RexUtil.simplify for constant reduction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • None
    • None

    Description

      Allow for custom RelOptPlanner.Executor in RexUtil.simplify. RexUtil.simplify (and derivatives) use a default EXECUTOR for evaluating literals and expression in simplifyCast. This causes value differences from Hive, triggering issues like CALCITE-1650, CALCITE-1651.

      Attachments

        1. CALCITE-1653.00.patch
          7 kB
          Remus Rusanu

        Issue Links

          Activity

            People

              rusanu Remus Rusanu
              rusanu Remus Rusanu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: