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

Poor performance in RexReplacer for large queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core

    Description

      We have queries that have tens of thousands of RexCalls. reducibleExps.indexOf(call) is an O operation, which takes 50% of the running time, causing the query runs for ever until timed out.
      In RexShuttle, ImmutableList iterator creation in visitList takes another 5~7% of running time, and it is creating millions of temporary iterator object, not only time consuming, but also memory consuming.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hyuan Haisheng Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m