<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:05: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-24310] Adding NULL sort order configuration when using sort() queries</title>
                <link>https://jira.mongodb.org/browse/SERVER-24310</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;At the moment, the NULL order fetching is decided upon the sort query type (&lt;tt&gt;DESC&lt;/tt&gt;,&lt;tt&gt;ASC&lt;/tt&gt;).&lt;/p&gt;

&lt;p&gt;If the query is done on field &lt;tt&gt;X&lt;/tt&gt; in a &lt;tt&gt;DESC&lt;/tt&gt; order the NULLs of field &lt;tt&gt;X&lt;/tt&gt; will be presented last, while in an &lt;tt&gt;ASC&lt;/tt&gt; order the NULLs of field &lt;tt&gt;X&lt;/tt&gt; will be presented first. I saw many requests on having the ability to decide the fetch positions of the NULLs in the ordered field. &lt;/p&gt;

&lt;p&gt;Can it be added as an optional flag to the query syntax with a default behavior?&lt;/p&gt;</description>
                <environment></environment>
        <key id="290068">SERVER-24310</key>
            <summary>Adding NULL sort order configuration when using sort() queries</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-optimization">Backlog - Query Optimization</assignee>
                                    <reporter username="pavel.duchovny@mongodb.com">Pavel Duchovny</reporter>
                        <labels>
                            <label>storch</label>
                    </labels>
                <created>Sun, 29 May 2016 07:50:59 +0000</created>
                <updated>Mon, 25 Sep 2023 16:24:37 +0000</updated>
                                                                            <component>Querying</component>
                                        <votes>22</votes>
                                    <watches>34</watches>
                                                                                                                <comments>
                            <comment id="5295485" author="elouie@linkedsenior.com" created="Thu, 23 Mar 2023 14:25:46 +0000"  >&lt;p&gt;Going to have to implement a workaround for this. Please prioritize this issue.&lt;/p&gt;</comment>
                            <comment id="4162238" author="chee7ah@gmail.com" created="Tue, 2 Nov 2021 02:42:44 +0000"  >&lt;p&gt;+1 Been doing workarounds for quite a while now, can this be prioritized?&lt;/p&gt;</comment>
                            <comment id="3903831" author="JIRAUSER1260870" created="Mon, 28 Jun 2021 05:45:09 +0000"  >&lt;p&gt;We have requirement to sort all null values at the bottom always irrespective of sort order. Is there any ETA for this feature?&lt;/p&gt;</comment>
                            <comment id="3507625" author="JIRAUSER1257790" created="Sat, 28 Nov 2020 22:55:29 +0000"  >&lt;p&gt;Is there any update on this? Like previously mentioned, this would be super helpful for good UX. Currently, we have to hack around it.&lt;/p&gt;</comment>
                            <comment id="2053274" author="mamt84" created="Tue, 6 Nov 2018 16:29:44 +0000"  >&lt;p&gt;+1 Very useful.&lt;/p&gt;</comment>
                            <comment id="1898833" author="wayneuong" created="Tue, 22 May 2018 20:18:38 +0000"  >&lt;p&gt;Is there an ETA for this feature? This is so crucial for good UX/UI.&lt;/p&gt;</comment>
                            <comment id="1749803" author="jim@complion.com" created="Tue, 12 Dec 2017 16:34:48 +0000"  >&lt;p&gt;Very important for my company for sorting values to the bottom alphabetically.&lt;/p&gt;</comment>
                            <comment id="1279237" author="asya" created="Tue, 31 May 2016 03:22:17 +0000"  >&lt;p&gt;This would be analogous to SQL syntax:  &quot;ORDER BY fieldname NULLS FIRST&quot; (or LAST).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31458">SERVER-5065</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25126"><![CDATA[Query Optimization]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 31 May 2016 03:22:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        45 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3504</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>joseph.kanaan@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            45 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>chee7ah@gmail.com</customfieldvalue>
            <customfieldvalue>backlog-query-optimization</customfieldvalue>
            <customfieldvalue>elouie@linkedsenior.com</customfieldvalue>
            <customfieldvalue>jim@complion.com</customfieldvalue>
            <customfieldvalue>pkumar.reddy@wellsfargo.com</customfieldvalue>
            <customfieldvalue>mamt84</customfieldvalue>
            <customfieldvalue>pavel.duchovny@mongodb.com</customfieldvalue>
            <customfieldvalue>smetkice@gmail.com</customfieldvalue>
            <customfieldvalue>WayneUong</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk733:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2ekn:</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_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|hsex33:</customfieldvalue>

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