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

Validates the $densify stage properly if 'partitionByFields' contains the densifying field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 7.3.3, 8.0.0-rc5, 7.0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0

      Aggregate command, 

      [{"$match":{}},{"$densify":{"field":"age","partitionByFields":["age"],"range":{"bounds":"full","step":30}}}, {"$limit":10}, {"$limit":20}]

      hits this tassert that should actually be a uassert or the $densify stage should be validated properly prior to this tassert. 

      Consider adding a new uassert for the case that 'partitionByFields' contains the field to densify.

            Assignee:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Reporter:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: