<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:03: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>[JAVA-5050] Support for $out to Time-series collections</title>
                <link>https://jira.mongodb.org/browse/JAVA-5050</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;DRIVERS-2558&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2382768">JAVA-5050</key>
            <summary>Support for $out to Time-series collections</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="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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Jul 2023 17:22:31 +0000</created>
                <updated>Thu, 7 Dec 2023 17:50:54 +0000</updated>
                            <resolved>Thu, 7 Dec 2023 17:50:54 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5933629" author="jeff.yemin" created="Thu, 7 Dec 2023 17:50:54 +0000"  >&lt;p&gt;The driver already has a builder for the &lt;tt&gt;$out&lt;/tt&gt; stage that takes a BSON document, so it can already be used to specify time series-related behavior of the out collection as specified in &lt;a href=&quot;https://www.mongodb.com/docs/v7.1/reference/operator/aggregation/out/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/v7.1/reference/operator/aggregation/out/&lt;/a&gt; (for 7.1 rapid release).  No additional logic is needed in the driver.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ashni.mehta%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ashni.mehta@mongodb.com&quot;&gt;ashni.mehta@mongodb.com&lt;/a&gt; the only thing I can suggest here is a docs ticket to show how to use it.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i18tvc:</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_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>7.0</label>
            <label>7.1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;DRIVERS-2558:&lt;br/&gt;
These changes add a new option (&quot;timeseries&quot;) for the $out aggregation stage. $out will now accept a &quot;timeseries&quot; option that takes in a time-series specification. $out will create a new time-series collection in the specified namespace if an existing collection does not exist in that namespace. If a collection exists in that namespace, $out will do the following:&lt;/p&gt;

&lt;p&gt;1. If the collection is not a time-series collection, $out will error.&lt;br/&gt;
2. If the collection is a time-series collection $out will error if the timeField and the metaField have been changed by the user. The time-series specification inputted in $out must match the existing time-series collection.&lt;br/&gt;
3. If the collection is a time-series collection and matches the specification passed in by the user $out will replace that existing time-series collection with the documents in the aggregation stage.&lt;/p&gt;

&lt;p&gt;These changes are not supported for sharded collections. There is currently follow-up work tracked by&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74061&quot; title=&quot;Support $out for time-series on secondaries and sharded clusters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74061&quot;&gt;&lt;del&gt;SERVER-74061&lt;/del&gt;&lt;/a&gt;&#160;currently in progress to add support for secondaries and sharded clusters.&lt;/p&gt;

&lt;p&gt;For more information the syntax doc can be found at this link:&#160;&lt;a href=&quot;https://docs.google.com/document/d/15lAB2yQ8e_fR4RnihjsJMotEaIiTe9q_qk-D509DWkM/edit?usp=sharing&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.google.com/document/d/15lAB2yQ8e_fR4RnihjsJMotEaIiTe9q_qk-D509DWkM/edit?usp=sharing&lt;/a&gt;&lt;/p&gt;</customfieldvalue>

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