SERVER-138098ClosedFixed
Exclude sparse indexes from collection-wide path arrayness inference
{{PathArrayness::isIndexEligibleToAddToPathArrayness}} [excludes partial indexes|https://github.com/mongodb/mongo/blob/72268c5a2750ff1f005e27f51775ec90b994337a/src/mongo/db/query/compiler/metadata/path_arrayness.cpp#L30-L32] because it only indexes a subset of documents in the collection and therefore does not profile a full view of arrayness. Currently sparse indexes are _not_ excluded because a document contributes to multikeyness in a sparse index even if it does not contribute any keys to th