Operational Defect Database

BugZero found this defect 122 days ago.

MongoDB | 2550705

[{$addFields: {}}, {$count: "count"}] counts number of buckets in timeseries with featureFlagSbeFull

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

7.3.0-rc2

Description:

Info

With featureFlagSbeFull, a [\{$addFields: {}}, \{$count: "count"}] pipeline run against a timeseries collections will get pushed down to SBE as $group stage, but it will return the number of buckets instead of the number of groups.

Top User Comments

xgen-internal-githook commented on Thu, 14 Mar 2024 22:29:22 +0000: Author: {'name': 'Parker Felix', 'email': '68665637+parker-felix@users.noreply.github.com', 'username': 'parker-felix'} Message: SERVER-85422 / BACKPORT-18544 Always add a blockToRow stage even when no block fields are required (#18424) GitOrigin-RevId: 00bcb0080ae37cfaa65497ec35415933b1c0dc0c Branch: v7.4test https://github.com/mongodb/mongo/commit/5661fbdeee61f0bedeacdda2a0183b637c998edc xgen-internal-githook commented on Fri, 26 Jan 2024 20:11:49 +0000: Author: {'name': 'Parker Felix', 'email': '68665637+parker-felix@users.noreply.github.com', 'username': 'parker-felix'} Message: SERVER-85422 / BACKPORT-18544 Always add a blockToRow stage even when no block fields are required (#18424) GitOrigin-RevId: 00bcb0080ae37cfaa65497ec35415933b1c0dc0c Branch: v7.3 https://github.com/mongodb/mongo/commit/4af8f6496d8b4cc00a7a441df8a47ffb3a0dbc8e xgen-internal-githook commented on Thu, 25 Jan 2024 03:48:28 +0000: Author: {'name': 'Parker Felix', 'email': '68665637+parker-felix@users.noreply.github.com', 'username': 'parker-felix'} Message: SERVER-85422 Always add a blockToRow stage even when no block fields are required (#18263) GitOrigin-RevId: f3d24c6ab58953959a8241b92664ef8b6ff1f8c6 Branch: master https://github.com/mongodb/mongo/commit/e70e2bc13e569c9ac4fcc03b1186c15cd29a72b6

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...