<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:42 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-2971] mongoimport + oversize numbers =&gt; garbage field</title>
                <link>https://jira.mongodb.org/browse/SERVER-2971</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Summary&lt;br/&gt;
======&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;mongoimport is creating an extra field (field5) in cases where the last field is numeric AND has more than 15 digits.&lt;/li&gt;
	&lt;li&gt;mongoimport does not have this problem if the over-sized field is before the last &quot;column&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Reproduce&lt;br/&gt;
======&lt;br/&gt;
Run the following on the attached CSV:&lt;br/&gt;
 mongoimport -d dealerlocator -c dealers --type csv --fields &quot;_id,name,address,latitude,longitude&quot; --drop --file gg.csv&lt;/p&gt;

&lt;p&gt;From the attached file, the last document looks like this:&lt;br/&gt;
{&lt;br/&gt;
  &quot;_id&quot; : 52373,&lt;br/&gt;
  &quot;name&quot; : &quot;GARAGE DU VAL D&apos;ARGENT&quot;,&lt;br/&gt;
  &quot;address&quot; : &quot;1C R MAURICE BURRUS 68160 STE CROIX AUX MINES&quot;,&lt;br/&gt;
  &quot;latitude&quot; : 48.257771809895836,&lt;br/&gt;
  &quot;longitude&quot; : 7.212600199381513,&lt;br/&gt;
  &quot;field5&quot; : &quot;333333333\&quot;&quot; &lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;In the file &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;latitude : &quot;48.2577718098958333333333333333333333333&quot;&lt;/li&gt;
	&lt;li&gt;longitude : &quot;7.21260019938151333333&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Problem&lt;br/&gt;
------&lt;br/&gt;
Latitude was correctly trimmed into a numeric.&lt;br/&gt;
Longitude was incorrectly &quot;cut&quot;.&lt;/p&gt;</description>
                <environment>Windows</environment>
        <key id="16219">SERVER-2971</key>
            <summary>mongoimport + oversize numbers =&gt; garbage field</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="gatesvp">Gaetan Voyer-Perrault</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Apr 2011 20:17:15 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:28 +0000</updated>
                            <resolved>Tue, 4 Oct 2011 17:35:31 +0000</resolved>
                                    <version>1.8.1</version>
                                    <fixVersion>2.0.0</fixVersion>
                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="57207" author="fredcons" created="Wed, 28 Sep 2011 07:59:58 +0000"  >&lt;p&gt;Hi&lt;br/&gt;
I imported the attached file with mongoimport v2 on a 1.8.1 running instance, and the result looks fine&lt;br/&gt;
Thanks&lt;br/&gt;
Fred&lt;/p&gt;</comment>
                            <comment id="57136" author="spencer" created="Tue, 27 Sep 2011 22:20:48 +0000"  >&lt;p&gt;Can you please try this again using mongoimport from 2.0?  The CSV handling functionality of mongoimport was completely rewritten in 2.0 and it is likely this bug was fixed in that process.  It is fine to run mongoimport from 2.0 against a 1.8 server.&lt;/p&gt;</comment>
                            <comment id="29419" author="fredcons" created="Thu, 21 Apr 2011 11:37:53 +0000"  >&lt;p&gt;Please note that I also had this problem when using numbers with 15 digits &lt;br/&gt;
Using&lt;/p&gt;

&lt;p&gt;52351,&quot;GARAGE DE LA TUILERIE&quot;,&quot;18 RTE DE BEAUVAIS 95810 EPIAIS RHUS&quot;,&quot;49.121577962239&quot;,&quot;2.0502000172932&quot;&lt;br/&gt;
49735,&quot;SNAT&quot;,&quot;95 R DU TILLEUL 59200 TOURCOING&quot;,&quot;50.719580078125&quot;,&quot;3.1692100524902&quot;&lt;/p&gt;

&lt;p&gt;gave me : &lt;/p&gt;

&lt;p&gt;&amp;gt; db.dealers.find()&lt;/p&gt;
{ &quot;_id&quot; : 52351, &quot;name&quot; : &quot;GARAGE DE LA TUILERIE&quot;, &quot;address&quot; : &quot;18 RTE DE BEAUVAIS 95810 EPIAIS RHUS&quot;, &quot;lat&quot; : 49.121577962239, &quot;long&quot; : 2.0502000172932 }
{ &quot;_id&quot; : 49735, &quot;name&quot; : &quot;SNAT&quot;, &quot;address&quot; : &quot;95 R DU TILLEUL 59200 TOURCOING&quot;, &quot;lat&quot; : 50.719580078125, &quot;long&quot; : 3.1692100524902, &quot;field5&quot; : &quot;39\&quot;&quot;, &quot;field6&quot; : 2.0502000172932 }
</comment>
                    </comments>
                    <attachments>
                            <attachment id="11728" name="gg.csv" size="544" author="gatesvp" created="Wed, 20 Apr 2011 20:17:15 +0000"/>
                    </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>Wed, 20 Apr 2011 20:44:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 21 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_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>
                            12 years, 21 weeks 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>fredcons</customfieldvalue>
            <customfieldvalue>gatesvp</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp16n:</customfieldvalue>

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

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

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