Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14816

Calcite engine. Change TreeMap in sorted IndexSpoolNode to ArrayList

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      IgniteSortedIndexSpool assumes that the underlying input is already sorted, but the execution node creates TreeMap to find the rows (see IndexSpoolNode#createTreeSpool). This TreeMap can be replaced with ArrayList and binary search with the same efficiency for searching and lower costs for inserting data. 

        

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xtern Pavel Pereslegin
                Reporter:
                alex_pl Aleksey Plekhanov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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