indexBasedCE: analyze can not run: Unable to estimate expression

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Enterprise test>             db.runCommand({analyze: "plan_stability", key: 'i_idx', numberBuckets: 1000});
      MongoServerError[CEFailure]: Unable to estimate expression
      

      I think all internal pipelines, such as the one used by analyze, should run under `multiPlanning` or `automaticCE` .

      Otherwise one can not construct a test that is valid for both histogramCE and indexBasedCE without the test having separate code paths for each.

            Assignee:
            Unassigned
            Reporter:
            Philip Stoev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: