[SERVER-24152] Add $bucketAuto stage Created: 16/May/16 Updated: 14/Mar/17 Resolved: 05/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.11 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Sally McNichols |
| Resolution: | Done | Votes: | 0 |
| Labels: | stage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Query 17 (07/15/16), Query 18 (08/05/16) | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
Syntax
Supported Granularity Specs (based off of the wiki page on preferred numbers):
Examples
Behavior
|
| Comments |
| Comment by Githook User [ 08/Aug/16 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: Fixes compile with the RocksDB storage engine. The error code 40264 was mongodb-partners/mongo-rocks@35c85d8c6d32c0eda01834493069b06f39803a67 |
| Comment by Githook User [ 05/Aug/16 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: This is a temporary workaround for a stale js-confdefs.h now that we've |
| Comment by Githook User [ 05/Aug/16 ] |
|
Author: {u'username': u'smcnichols', u'name': u'Sally McNichols', u'email': u'sally.mcnichols@mongodb.com'}Message: |
| Comment by Githook User [ 27/Jul/16 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: The compiler is able to deduplicate multiple copies of the same string |
| Comment by Githook User [ 26/Jul/16 ] |
|
Author: {u'username': u'smcnichols', u'name': u'Sally McNichols', u'email': u'sally.mcnichols@mongodb.com'}Message: |
| Comment by Sally McNichols [ 26/Jul/16 ] |
|
Hi osmar.olivo, I was referring to specifically disallowing the use of the granularity option when there are negative numbers or zero. Is that okay? |
| Comment by Osmar Olivo [ 26/Jul/16 ] |
|
Do you mean specifically disallow the use of the granularity option when there are negative numbers? Or disallow the use of negative numbers with $bucketAuto altogether? I'm OK with the first one (at least for a v1), but not the second one. |
| Comment by Charlie Swanson [ 25/Jul/16 ] |
|
osmar.olivo, can you comment on the above? Is it okay to disallow negatives (at least for now)? |
| Comment by Sally McNichols [ 25/Jul/16 ] |
|
Does the granularity option support rounding negative numbers (and zero)? Some of the preferred number series (like Renard numbers, 1-2-5 series, or E series) aren't well defined for rounding nonpositive numbers. |