Implement $sample fallback in $_internalUnpackBucket.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: 5.0 Required
    • Component/s: Querying
    • Fully Compatible
    • Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-04-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If the heuristics are below a determined threshold, the $sample pushdown algorithm should default to the top-k sorting algorithm used in $sample currently. This would unpack all of the buckets and proceed with the top-k sorting algo.

      We should also explore the heuristic space, determine a minimal set of significant variables and implement a threshold switch to toggle the fall-back or optimized $sample algorithm in $_internalUnpackBucket. 

            Assignee:
            David Storch
            Reporter:
            Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: