<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:43:28 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>[COMPASS-6528] Consistent progress support for analyzeCSVFields, importCSV and importJSON, etc</title>
                <link>https://jira.mongodb.org/browse/COMPASS-6528</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;For importing CSV I think the progress event worked fine because you could see how many docs have been processed and an earlier step already returned the number of docs when we analysed the file. This is enough to accurately show the progress as designed.&lt;/p&gt;

&lt;p&gt;For importing JSON we don&apos;t know how many docs there are in advance.&lt;/p&gt;

&lt;p&gt;So I&apos;ll have to augment the progress callback with how many bytes have been processed. Then the progress can be the number of bytes out of the total.Add it to both importCSV() and importJSON() so they can remain compatible.&lt;/p&gt;

&lt;p&gt;ie. you would have the number of docs and number of bytes processed. Total bytes in the file can be read outside the function and for CSV we have the additional advantage that we already have the total number of docs.&lt;/p&gt;

&lt;p&gt;Also check other import/export functions that have a progress callback.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2267558">COMPASS-6528</key>
            <summary>Consistent progress support for analyzeCSVFields, importCSV and importJSON, etc</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="leroux.bodenstein@mongodb.com">Le Roux Bodenstein</assignee>
                                    <reporter username="leroux.bodenstein@mongodb.com">Le Roux Bodenstein</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Feb 2023 12:39:20 +0000</created>
                <updated>Thu, 23 Feb 2023 13:04:38 +0000</updated>
                            <resolved>Thu, 23 Feb 2023 13:04:38 +0000</resolved>
                                                    <fixVersion>No version</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="5221576" author="xgen-internal-githook" created="Wed, 22 Feb 2023 16:16:42 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Le Roux Bodenstein&apos;, &apos;email&apos;: &apos;lerouxb@gmail.com&apos;, &apos;username&apos;: &apos;lerouxb&apos;}
&lt;p&gt;Message: feat(import): progressCallback(numDocs, numBytes) &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6528&quot; title=&quot;Consistent progress support for analyzeCSVFields, importCSV and importJSON, etc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6528&quot;&gt;&lt;del&gt;COMPASS-6528&lt;/del&gt;&lt;/a&gt; (#4080)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;progressCallback(numDocs, numBytes)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix error handling&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix for electron&lt;br/&gt;
Branch: codemirror-improvements&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/efb06a1ecd548a117e2284d664ef108394f6072f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/efb06a1ecd548a117e2284d664ef108394f6072f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5220814" author="xgen-internal-githook" created="Wed, 22 Feb 2023 14:08:57 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Le Roux Bodenstein&apos;, &apos;email&apos;: &apos;lerouxb@gmail.com&apos;, &apos;username&apos;: &apos;lerouxb&apos;}
&lt;p&gt;Message: feat(import): progressCallback(numDocs, numBytes) &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6528&quot; title=&quot;Consistent progress support for analyzeCSVFields, importCSV and importJSON, etc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6528&quot;&gt;&lt;del&gt;COMPASS-6528&lt;/del&gt;&lt;/a&gt; (#4080)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;progressCallback(numDocs, numBytes)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix error handling&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix for electron&lt;br/&gt;
Branch: global-confirmation-modal&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/efb06a1ecd548a117e2284d664ef108394f6072f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/efb06a1ecd548a117e2284d664ef108394f6072f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5216759" author="xgen-internal-githook" created="Tue, 21 Feb 2023 15:29:53 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Le Roux Bodenstein&apos;, &apos;email&apos;: &apos;lerouxb@gmail.com&apos;, &apos;username&apos;: &apos;lerouxb&apos;}
&lt;p&gt;Message: feat(import): progressCallback(numDocs, numBytes) &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6528&quot; title=&quot;Consistent progress support for analyzeCSVFields, importCSV and importJSON, etc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6528&quot;&gt;&lt;del&gt;COMPASS-6528&lt;/del&gt;&lt;/a&gt; (#4080)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;progressCallback(numDocs, numBytes)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix error handling&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix for electron&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/efb06a1ecd548a117e2284d664ef108394f6072f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/efb06a1ecd548a117e2284d664ef108394f6072f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                    <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>Tue, 21 Feb 2023 15:29:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        50 weeks 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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>COMPASS-5576</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>leroux.bodenstein@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            50 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>leroux.bodenstein@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1wipz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1ey28:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6941">Iteration Velvet Crab</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1w4vb:</customfieldvalue>

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