<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:31:55 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>[COMPASS-3037] aggregation and $merge accumulator is not working</title>
                <link>https://jira.mongodb.org/browse/COMPASS-3037</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;Hello, I am trying to create the following aggregation pipeline but last step is not working.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;tt&gt;[{ $match: /** * query - The query in MQL. */&lt;/tt&gt;&lt;br/&gt;
{{Unknown macro: { codigoInternoDelContratoIuc }}}&lt;br/&gt;
&lt;tt&gt;}, { $project: /** * specifications - The fields to * include or exclude. */{ &quot;codigoInternoDelContratoIuc&quot;:1, all_buck: { $concatArrays: [ {$ifNull: [&apos;$online&apos;, []]},&apos;$buckets&apos;] }} },&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;Unknown macro: { $unwind&lt;/tt&gt;}&lt;br/&gt;
&lt;tt&gt;, { $group: /** * _id - The id of the group. * field1 - The first field name. */{ _id: &quot;$all_buck.codigoRmsOperacionExtendido&quot;, mov:&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;Unknown macro: { $mergeObjects&lt;/tt&gt;}&lt;br/&gt;
&lt;tt&gt;, count:{$sum:1&lt;/tt&gt; }]}}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;For mergeObjects is expecting [ ]... I have tried different version but it is not working. The same pipeline in the shell is working fine!&lt;br/&gt;
Thank you i advance,&lt;/p&gt;

&lt;p&gt;Juan&lt;/p&gt;</description>
                <environment></environment>
        <key id="579446">COMPASS-3037</key>
            <summary>aggregation and $merge accumulator is not working</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="durran.jordan@mongodb.com">Durran Jordan</assignee>
                                    <reporter username="juan.soto@mongodb.com">Juan Soto</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Jul 2018 12:04:14 +0000</created>
                <updated>Thu, 16 Aug 2018 14:48:14 +0000</updated>
                            <resolved>Thu, 16 Aug 2018 14:03:27 +0000</resolved>
                                                    <fixVersion>1.15.0</fixVersion>
                                    <component>Aggregation pipeline</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1977351" author="xgen-internal-githook" created="Thu, 16 Aug 2018 14:48:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;durran&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;name&apos;: &apos;Durran Jordan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3037&quot; title=&quot;aggregation and $merge accumulator is not working&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3037&quot;&gt;&lt;del&gt;COMPASS-3037&lt;/del&gt;&lt;/a&gt;: Bump agg pipeline to fix mergeObjects&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/compass/commit/3dc1a91ee0acf7c51a513a94068b5c2d301b114a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass/commit/3dc1a91ee0acf7c51a513a94068b5c2d301b114a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1977289" author="xgen-internal-githook" created="Thu, 16 Aug 2018 14:04:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3037&quot; title=&quot;aggregation and $merge accumulator is not working&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3037&quot;&gt;&lt;del&gt;COMPASS-3037&lt;/del&gt;&lt;/a&gt;: Bump agg pipeline to fix mergeObjects&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3037&quot; title=&quot;aggregation and $merge accumulator is not working&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3037&quot;&gt;&lt;del&gt;COMPASS-3037&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/compass/commit/09c0f718169c57e915dc361158d4b5a6c8c1b692&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass/commit/09c0f718169c57e915dc361158d4b5a6c8c1b692&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1959901" author="juan.soto" created="Mon, 30 Jul 2018 12:04:36 +0000"  >

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;192926_thumb&quot; href=&quot;https://jira.mongodb.org/secure/attachment/192926/192926_Screen+Shot+2018-07-30+at+13.59.47.png&quot; title=&quot;Screen Shot 2018-07-30 at 13.59.47.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;192926&quot; file-preview-title=&quot;Screen Shot 2018-07-30 at 13.59.47.png&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/thumbnail/192926/_thumb_192926.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="192926" name="Screen Shot 2018-07-30 at 13.59.47.png" size="73779" author="juan.soto@mongodb.com" created="Mon, 30 Jul 2018 12:03:10 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_11450" key="com.atlassian.servicedesk:vp-origin">
                        <customfieldname>Customer Request Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 16 Aug 2018 14:04:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 25 weeks, 6 days 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_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>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 25 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>durran.jordan@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>juan.soto@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu3zf3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2505">Iteration Halloumi</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu3lof:</customfieldvalue>

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