<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:14:37 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-7463] $percentile aggregation accumulator</title>
                <link>https://jira.mongodb.org/browse/SERVER-7463</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Would enable computation of things like the median value or the 99th percentile value.&lt;/p&gt;

&lt;h5&gt;&lt;a name=&quot;OriginalDescription&quot;&gt;&lt;/a&gt;Original Description&lt;/h5&gt;
&lt;p&gt;Now that the nuts and bolts of aggregation have been taken care of with the new aggregation framework, higher level functions like percentile and top, which we use extensively to report on metrics is highly desirable.&lt;br/&gt;
Splunk lets me write custom operators and hook them into the query pipeline. Having something similar would be a great enhancement to the aggregation framework.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54262">SERVER-7463</key>
            <summary>$percentile aggregation accumulator</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-execution">Backlog - Query Execution</assignee>
                                    <reporter username="andre.defrere@mongodb.com">Andre de Frere</reporter>
                        <labels>
                            <label>accumulator</label>
                            <label>expression</label>
                            <label>pull-request</label>
                    </labels>
                <created>Wed, 24 Oct 2012 21:52:33 +0000</created>
                <updated>Tue, 6 Dec 2022 05:28:10 +0000</updated>
                                                                            <component>Aggregation Framework</component>
                                        <votes>40</votes>
                                    <watches>48</watches>
                                                                                                                <comments>
                            <comment id="1253095" author="atg@webperf.io" created="Tue, 3 May 2016 07:55:26 +0000"  >&lt;p&gt;+1 for TDigest implementation to build a $percentile aggregation accumulator. Moreover, for incremental aggregation and merge of several TDigest (e.g. to compute the percentile on a long running period by aggregating multiple TDigest for sub periods), a TDigest serializer/deserializer would be great to store TDigest as Binary Data.&lt;/p&gt;</comment>
                            <comment id="1168079" author="asya" created="Tue, 9 Feb 2016 17:32:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=real_ate&quot; class=&quot;user-hover&quot; rel=&quot;real_ate&quot;&gt;real_ate&lt;/a&gt; I don&apos;t believe we have - feel free to add your ideas here.  &lt;/p&gt;

&lt;p&gt;To make sure we are on the same page, it would help to include some specific examples.&lt;/p&gt;
</comment>
                            <comment id="1167969" author="real_ate" created="Tue, 9 Feb 2016 16:24:30 +0000"  >&lt;p&gt;Has anyone discussed the potential implementation of this yet? I have a need for this operator and I have a few ideas how I might expect it to work, and if there hasn&apos;t been a design discussion about it I would like to start it here. &lt;/p&gt;</comment>
                            <comment id="1164398" author="charlie.swanson" created="Thu, 4 Feb 2016 23:15:05 +0000"  >&lt;p&gt;I&apos;ve restricted the scope of this ticket to be simply &lt;tt&gt;$percentile&lt;/tt&gt;, as &lt;tt&gt;$top&lt;/tt&gt; would be possible if we resolved &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9377&quot; title=&quot;Allow collecting &amp;quot;top&amp;quot; N values for each group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9377&quot;&gt;&lt;del&gt;SERVER-9377&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="954883" author="cstepnitz" created="Tue, 30 Jun 2015 18:44:04 +0000"  >&lt;p&gt;One possible implementation approach for quantiles would be to use a TDigest, such as is documented and implemented in this simple library: &lt;a href=&quot;https://github.com/tdunning/t-digest&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/tdunning/t-digest&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="919548" author="charlie.swanson" created="Wed, 20 May 2015 19:00:51 +0000"  >&lt;p&gt;Let&apos;s keep this ticket focused on $top and $percentile. Other additions can be addressed separately.&lt;/p&gt;

&lt;p&gt;In order to calculate $top or $percentile, we would need to hold on to all documents in the pipeline. This does not fit into the current streaming architecture. &lt;/p&gt;</comment>
                            <comment id="312855" author="sturadnidge" created="Sat, 13 Apr 2013 22:29:05 +0000"  >&lt;p&gt;$pow and $log would be really useful to have, trying to use combinations of $multiply and $divide to do the same gets ugly fast!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="203523">SERVER-18427</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="65254">SERVER-8568</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25125"><![CDATA[Query Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 13 Apr 2013 22:29:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 41 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1883</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 41 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andre.defrere@mongodb.com</customfieldvalue>
            <customfieldvalue>atg@webperf.io</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-execution</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>real_ate</customfieldvalue>
            <customfieldvalue>cstepnitz</customfieldvalue>
            <customfieldvalue>sturadnidge</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnk1j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr275r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6983</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrj5un:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>