<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:21:05 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-29512] Convert an ObjectId to a hex string in aggregation pipeline stages</title>
                <link>https://jira.mongodb.org/browse/SERVER-29512</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;At the moment if you need to concatenate two ObjectIds into a single string value then this has to be done outside AP (in Java code, etc).&lt;/p&gt;

&lt;p&gt;What would be really handy is if there was so sort of $toString function that converts anything to a String representation or if you wanted to cut down the scope for now then expand the $concat function to internally convert ObjectIds to their hex string representation during the concat operation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="391590">SERVER-29512</key>
            <summary>Convert an ObjectId to a hex string in aggregation pipeline stages</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="3">Duplicate</resolution>
                                        <assignee username="backlog-server-query">Backlog - Query Team</assignee>
                                    <reporter username="aharris">Andrew Harris</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Jun 2017 09:41:07 +0000</created>
                <updated>Thu, 6 Apr 2023 15:39:07 +0000</updated>
                            <resolved>Fri, 2 Mar 2018 19:00:03 +0000</resolved>
                                                                    <component>Aggregation Framework</component>
                                        <votes>1</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="1821610" author="asya" created="Fri, 2 Mar 2018 18:59:52 +0000"  >&lt;p&gt;See this comment for how this will work:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22781?focusedCommentId=1821607&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1821607&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-22781?focusedCommentId=1821607&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1821607&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1756540" author="aharris" created="Wed, 20 Dec 2017 08:31:20 +0000"  >&lt;p&gt;So that will be 3.8 then? A long way off I suspect.&lt;/p&gt;</comment>
                            <comment id="1747086" author="asya" created="Fri, 8 Dec 2017 17:56:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aharris&quot; class=&quot;user-hover&quot; rel=&quot;aharris&quot;&gt;aharris&lt;/a&gt; yes, we are currently planning on delivering type conversion functionality (including this one) for the next major release.&lt;/p&gt;</comment>
                            <comment id="1746593" author="aharris" created="Fri, 8 Dec 2017 09:37:32 +0000"  >&lt;p&gt;Is this improvement still be considered at all?&lt;/p&gt;</comment>
                            <comment id="1717441" author="samuel marks" created="Mon, 6 Nov 2017 11:33:12 +0000"  >&lt;p&gt;Agreed, my use-case I need to combine `ObjectId` for a new &apos;primary key&apos;&lt;/p&gt;</comment>
                            <comment id="1710093" author="aharris" created="Thu, 26 Oct 2017 15:26:16 +0000"  >&lt;p&gt;Any update on this?&lt;/p&gt;

&lt;p&gt;I was hoping to see this as part of the 3.6 release changes.&lt;/p&gt;</comment>
                            <comment id="1605913" author="asya" created="Sun, 25 Jun 2017 03:59:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aharris&quot; class=&quot;user-hover&quot; rel=&quot;aharris&quot;&gt;aharris&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24947&quot; title=&quot;Need a type conversion mechanism for booleans, ISODates, ObjectID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24947&quot;&gt;&lt;del&gt;SERVER-24947&lt;/del&gt;&lt;/a&gt; is meant to track conversion of ObjectId to various types (including from ObjectId to string or to date).&lt;/p&gt;

&lt;p&gt;However, we are already considering specifically ObjectId to hex string since multiple MongoDB drivers provide that exact conversion function.   We need to reach consensus on syntax for these type conversion functions and we are working on that now.&lt;/p&gt;</comment>
                            <comment id="1595244" author="aharris" created="Tue, 13 Jun 2017 08:17:24 +0000"  >&lt;p&gt;More of an expansion on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24947&quot; title=&quot;Need a type conversion mechanism for booleans, ISODates, ObjectID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24947&quot;&gt;&lt;del&gt;SERVER-24947&lt;/del&gt;&lt;/a&gt; which appears to deal with the creation of ObjectId from a string rather than the creation of a hex String from an ObjectId in $project stages.&lt;/p&gt;</comment>
                            <comment id="1594966" author="alice@gothcandy.com" created="Mon, 12 Jun 2017 22:18:58 +0000"  >&lt;p&gt;Potential duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24947&quot; title=&quot;Need a type conversion mechanism for booleans, ISODates, ObjectID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24947&quot;&gt;&lt;del&gt;SERVER-24947&lt;/del&gt;&lt;/a&gt; (type conversion for &#8230; ObjectID).&lt;/p&gt;</comment>
                            <comment id="1591106" author="david.storch" created="Thu, 8 Jun 2017 16:01:57 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aharris&quot; class=&quot;user-hover&quot; rel=&quot;aharris&quot;&gt;aharris&lt;/a&gt;, thanks for the feature request. We are sending this request to the Query Team for triage.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="493995">SERVER-33171</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="299435">SERVER-24947</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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25143"><![CDATA[Query]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 8 Jun 2017 14:08:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 49 weeks, 5 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-737</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 49 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aharris</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-query</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>alice@gothcandy.com</customfieldvalue>
            <customfieldvalue>Samuel Marks</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht8sk7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9cfb:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</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|ht8emn:</customfieldvalue>

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