CollectionStatistics::getHistogram should take path by StringData instead of const string reference

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

      getHistogram takes its argument by const std::string&. However there are instances in the CardinalityEstimator where we have a path in StringData, which currently requires us to create a copy of the path to look up the histogram.

              Assignee:
              Unassigned
              Reporter:
              Ben Shteinfeld
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: