IndexDescriptor::isSparse should return true for wildcard indexes

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

      Wildcard indexes are effectively sparse indexes, even though they are not explicitly marked as sparse in the catalog.

      I suggest updating IndexDescriptor::isSparse() to return true for wildcard indexes.

      This will prevent bugs caused by code that rely on this method to implement a different behavior for sparse indexes.

            Assignee:
            Unassigned
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: