[SERVER-29737] $mod can't use 11 digit as divisor Created: 20/Jun/17  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: ider Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: query-44-grooming
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Operating System: ALL
Participants:

 Description   

i have some date like

/* 1 */
{
    "_id" : NumberLong("110000000000"),
    "name" : "beijing"
},
 
/* 2 */
{
    "_id" : NumberLong("120000000000"),
    "name" : "tianjing"
},
 
/* 3 */
{
    "_id" : NumberLong("130000000000"),
    "name" : "hebei"
},

but use 11 digit as divisor return None

db.collection.find({'_id':{$mod: [10000000000,0]}})

Document have nothing about this



 Comments   
Comment by Kelsey Schubert [ 20/Jun/17 ]

Hi ider,

Thank you for reporting this bug. I've marked this ticket to be scheduled against currently planned work. Please continue to watch this ticket for updates.

Kind regards,
Thomas

Generated at Thu Feb 08 04:21:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.