<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:40:59 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-16418] Add a way to convert a number or string value(s) to a date in $project </title>
                <link>https://jira.mongodb.org/browse/SERVER-16418</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A very common data management pattern is to do ELT - e.g. extract data (e.g. from an RDBMS), load it (into MongoDB), and then transform it in MongoDB &lt;span class=&quot;error&quot;&gt;&amp;#91;with $out to another collection&amp;#93;&lt;/span&gt;, instead of having to transform it in files or via ETL tools.  &lt;/p&gt;

&lt;p&gt;The aggregation framework would be much better at this if it could convert dates (and other types in other JIRA tickets).  &lt;/p&gt;

&lt;p&gt;One situation I worked on is taking a file with dates as numbers like 20140101 but it would also have been easy to put quotes around that in the files and use $substr to pull out the year, month, and day from &quot;20140101&quot; but there was no way to take those values and project it to a date value&lt;/p&gt;</description>
                <environment></environment>
        <key id="172762">SERVER-16418</key>
            <summary>Add a way to convert a number or string value(s) to a date in $project </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="-1">Unassigned</assignee>
                                    <reporter username="matt.kalan@mongodb.com">Matt Kalan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Dec 2014 18:03:14 +0000</created>
                <updated>Fri, 5 Dec 2014 16:51:41 +0000</updated>
                            <resolved>Fri, 5 Dec 2014 16:51:41 +0000</resolved>
                                                                    <component>Aggregation Framework</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="779595" author="ramon.fernandez" created="Fri, 5 Dec 2014 16:51:41 +0000"  >&lt;p&gt;I think &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4434&quot; title=&quot;aggregation:  add strptime functionality to parse string dates into ISODates&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4434&quot;&gt;&lt;del&gt;SERVER-4434&lt;/del&gt;&lt;/a&gt; would definitely address this ticket, so I&apos;m resolving it as a duplicate.&lt;/p&gt;</comment>
                            <comment id="778857" author="matt.kalan@10gen.com" created="Thu, 4 Dec 2014 20:39:04 +0000"  >&lt;p&gt;Didn&apos;t see that one browsing the many tickets in this area but it is close.  I&apos;m also suggesting converting a number to a date (either a number that looks like 20140101 for Jan 1 2014, or seconds from epoch.  &lt;/p&gt;</comment>
                            <comment id="778840" author="matt.kangas@10gen.com" created="Thu, 4 Dec 2014 20:26:07 +0000"  >&lt;p&gt;Dup of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4434&quot; title=&quot;aggregation:  add strptime functionality to parse string dates into ISODates&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4434&quot;&gt;&lt;del&gt;SERVER-4434&lt;/del&gt;&lt;/a&gt;? Also related is &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9626&quot; title=&quot;Aggregation Framework needs to support more date conversion functions like date portion, or time portion of date type&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9626&quot;&gt;&lt;del&gt;SERVER-9626&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="26049">SERVER-4434</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="32452">SERVER-5239</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 4 Dec 2014 20:26:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 10 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_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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 10 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>matt.kalan@mongodb.com</customfieldvalue>
            <customfieldvalue>matt.kangas</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlhe7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>151262</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|hs89r3:</customfieldvalue>

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