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

EnumerableNestedLoopJoin cost should account for cost of inner restarts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 1.21.0
    • None
    • core

    Description

      EnumerableNestedLoopJoin uses makeCost(rowCount, 0, 0) which does not account the efforts spent in restarting the nested loops.

      For instance: select * from emp, dept where false produces 0 rows, however, it still has non-trivial execution efforts.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vladimirsitnikov Vladimir Sitnikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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