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

Calcite engine. Change TreeMap in sorted IndexSpoolNode to ArrayList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • 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

              xtern Pavel Pereslegin
              alex_pl Aleksey Plekhanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h
                  1h