<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:46 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-2033] Add skip and limit options for mongoexport</title>
                <link>https://jira.mongodb.org/browse/SERVER-2033</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There should be skip and limit options in the mongoexport utility. &lt;/p&gt;

&lt;p&gt;I have a practical use case of &quot;show me the top 10 ranked documents in this collection&quot; and sending the output as a CSV for excel users. The collection is millions of documents so i need limit and skip options.&lt;/p&gt;

&lt;p&gt;This person needed as well&lt;br/&gt;
&lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/89dbf90b0a5d9a39&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/89dbf90b0a5d9a39&lt;/a&gt;&lt;/p&gt;</description>
                <environment>all</environment>
        <key id="13564">SERVER-2033</key>
            <summary>Add skip and limit options for mongoexport</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="9">Done</resolution>
                                        <assignee username="matt.kangas">Matt Kangas</assignee>
                                    <reporter username="tommychheng">tommy chheng</reporter>
                        <labels>
                            <label>pull-request</label>
                    </labels>
                <created>Fri, 29 Oct 2010 16:52:34 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:28 +0000</updated>
                            <resolved>Mon, 9 Dec 2013 21:32:34 +0000</resolved>
                                    <version>1.6.4</version>
                    <version>1.7.0</version>
                    <version>1.7.1</version>
                                    <fixVersion>2.5.1</fixVersion>
                                    <component>Tools</component>
                                        <votes>7</votes>
                                    <watches>15</watches>
                                                                                                                <comments>
                            <comment id="376574" author="matt.kangas@10gen.com" created="Mon, 8 Jul 2013 21:44:52 +0000"  >&lt;p&gt;Pull request merged in 37697bdb58f91be434416c3b73b66ced4cb0efa0&lt;/p&gt;</comment>
                            <comment id="376565" author="auto" created="Mon, 8 Jul 2013 21:38:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RexMorgan&apos;, u&apos;name&apos;: u&apos;Rex Morgan&apos;, u&apos;email&apos;: u&apos;rex.morgan@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2033&quot; title=&quot;Add skip and limit options for mongoexport&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2033&quot;&gt;&lt;del&gt;SERVER-2033&lt;/del&gt;&lt;/a&gt;: Adding support for skip and limits withing the mongoexport tool.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Matt Kangas &amp;lt;matt.kangas@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/37697bdb58f91be434416c3b73b66ced4cb0efa0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/37697bdb58f91be434416c3b73b66ced4cb0efa0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="293041" author="rexm" created="Tue, 19 Mar 2013 15:29:01 +0000"  >&lt;p&gt;This actually affects all versions, ticket should be updated to reflect that. I&apos;ve fixed this in &lt;a href=&quot;https://github.com/mongodb/mongo/pull/307&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Pull Request #307&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="291148" author="jbungert@metlife.com" created="Sun, 17 Mar 2013 03:30:33 +0000"  >&lt;p&gt;Agreed, this would be a great feature to have for doing data testing.&lt;/p&gt;</comment>
                            <comment id="42230" author="eliot" created="Thu, 14 Jul 2011 04:31:25 +0000"  >&lt;p&gt;@mike not sure.   its in &quot;2011 - phase 1&quot; which basically mean its in an early non schedule bucket&lt;/p&gt;</comment>
                            <comment id="42205" author="mikerjacobi" created="Wed, 13 Jul 2011 21:21:12 +0000"  >&lt;p&gt;Will this functionality be in 2.1?&lt;/p&gt;</comment>
                            <comment id="20142" author="eliot" created="Mon, 8 Nov 2010 22:59:50 +0000"  >&lt;p&gt;Just a matter of adding --skip and --limit to command line args for export.cpp and then applying conditionally on the find.&lt;/p&gt;</comment>
                            <comment id="20141" author="tommychheng" created="Mon, 8 Nov 2010 22:56:34 +0000"  >&lt;p&gt;Can you give a summary of what needs to be changed in the code for skip and limit options to work properly?&lt;/p&gt;

&lt;p&gt;I&apos;m not sure I can wait until 1.9 for this option..&lt;/p&gt;

&lt;p&gt;Maybe I or someone can submit a patch if it&apos;s not too difficult.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="101960">SERVER-12054</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="95405">DOCS-2141</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 8 Nov 2010 22:59:50 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 32 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jbungert@metlife.com</customfieldvalue>
            <customfieldvalue>matt.kangas</customfieldvalue>
            <customfieldvalue>mikerjacobi</customfieldvalue>
            <customfieldvalue>rexm</customfieldvalue>
            <customfieldvalue>tommychheng</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpc5z:</customfieldvalue>

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

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

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