Skip to content

Aggregation tests for $group to return deterministic order in compat and target #2184

Closed
@chilagrow

Description

What should be done?

In $group aggregation Scalars dataset is skipped because aggregation grouped by value ({"_id", "$v"}) groups numbers of different types, and this causes output _id to be different number type between compat and target.

bson.D{{"$group", bson.D{
					{"_id", "$v"},
				}}},

It could be due to compat and target uses different order of insertion of documents.

Where?

See the issue number in the code

Definition of Done

  • integration/compatibility tests added/updated;
  • spot refactorings done;

Metadata

Assignees

Labels

area/aggregationsIssues about aggregation pipelinescode/choreCode maintenance improvementsnot readyIssues that are not ready to be worked on; PRs that should skip CI

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions