Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42957

An empty user-defined collation is ignored for aggregate commands

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Query

      When parsing an aggregation request, the user supplied collation is parsed and stored on the AggregationRequest. However there is an assumption later in execution that an empty BSONObj for the collation implies that it was never set. For instance, here when resolving the collator to use for the operation. In this case, we'll end up incorrectly using the collection-default collation.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: