tassert setWindowFields sort by dotted path under meta field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • Hide
      db.c.drop();
      db.createCollection("c", {timeseries: {timeField: "t", metaField: "m"}});
      db.c.insert({t: ISODate(), m: {a: 1}});
      db.c.aggregate([{$setWindowFields: {sortBy: {"m.a": 1}, output: {r: {$rank: {}}}}}]); 
      Show
      db.c.drop(); db.createCollection( "c" , {timeseries: {timeField: "t" , metaField: "m" }}); db.c.insert({t: ISODate(), m: {a: 1}}); db.c.aggregate([{$setWindowFields: {sortBy: { "m.a" : 1}, output: {r: {$rank: {}}}}}]);
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      9973200 "Attempt to get sort key which has not been populated"

      Assigning to QE since we own the file containing the tassert.

            Assignee:
            Rui Liu
            Reporter:
            Evan Bergeron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: