[SERVER-55226] Test partitionBy null/missing Created: 16/Mar/21  Updated: 29/Oct/23  Resolved: 05/Apr/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: David Percy Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query Optimization 2021-04-05
Participants:

 Description   

$setWindowFields implements partitioning by sorting. We should make sure partitioning works when the partition key is a mixture of nulls and missing.

Should we coerce missing to null? ($group does, to ensure the _id field is always present.) At minimum, we need to make sure that all nulls are in the same partition, and all missings are in the same partition.

We should also make sure to test compound keys where the components are a mixture of null and missing.



 Comments   
Comment by Githook User [ 02/Apr/21 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'danielzhangyh@gmail.com', 'username': 'YuhongZhang98'}

Message: SERVER-55226 Test partitionBy null/missing
Branch: master
https://github.com/mongodb/mongo/commit/619aa27c13a326b78edc476c72ec446f1c1de236

Generated at Thu Feb 08 05:35:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.