Extend NDV Support for Non-Histogrammable Types in TypeCounts

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

      We currently lack the capability to estimate intervals for non-histogrammable types by dividing TypeCounts counter by the number of distinct values (NDV). Currently, NDV is only available for histogrammable types, as referenced in the code here.

      Extending NDV support to non-histogrammable types in TypeCounts would enable interval estimation by dividing TypeCounts counter by NDV.

              Assignee:
              Unassigned
              Reporter:
              Chi-I Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: