<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:55: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>[DOCS-8094] mongoimport typed fields</title>
                <link>https://jira.mongodb.org/browse/DOCS-8094</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Re. &lt;a href=&quot;https://jira.mongodb.org/browse/TOOLS-67&quot; title=&quot;Give mongoimport of CSV/TSVs a way to specify import types&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TOOLS-67&quot;&gt;&lt;del&gt;TOOLS-67&lt;/del&gt;&lt;/a&gt;: mongoimport csv/tsv with specified types&lt;br/&gt;
For 3.4.0 release.&lt;/p&gt;

&lt;p&gt;Most of the documentation that needs to be added will be regarding the last section in the following changeling (on the typed field input format):&lt;/p&gt;

&lt;p&gt;overview of changes:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;two new command line options:
	&lt;ul&gt;
		&lt;li&gt;&apos;columnsHaveTypes&apos;, boolean whether the field types are to be specified;&lt;/li&gt;
		&lt;li&gt;&apos;parseGrace&apos;, how to handle type coercion failures (one of skipField,&lt;br/&gt;
    skipRow, stop, autoCast). The skipRow option sends failed rows to&lt;br/&gt;
    standard output.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;changed behavior:
	&lt;ul&gt;
		&lt;li&gt;if &apos;columnsHaveTypes&apos; is set, then wherever column names are specified,&lt;br/&gt;
    the types will also be specified. If &apos;headerLine&apos; is set, this refers&lt;br/&gt;
    to the first line of the input source. If &apos;fieldFile&apos; is set, this&lt;br/&gt;
    refers to the file with the field names. If neither of these two&lt;br/&gt;
    options is set, this refers to the string given in the &apos;fields&apos;&lt;br/&gt;
    option.&lt;/li&gt;
		&lt;li&gt;(behavior is unchanged if &apos;columnsHaveTypes&apos; is not set)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;new typed field input format (from wherever column names are specified):&lt;br/&gt;
  &apos;&amp;lt;COLNAME&amp;gt;.&amp;lt;TYPE&amp;gt;(&amp;lt;ARG&amp;gt;)&apos;
	&lt;ul&gt;
		&lt;li&gt;&amp;lt;TYPE&amp;gt; is one of: auto, binary, bool, date, date_go, date_ms,&lt;br/&gt;
    date_oracle, double, int32, int64, string. The &apos;date&apos; type is an alias&lt;br/&gt;
    for &apos;date_go&apos;.&lt;/li&gt;
		&lt;li&gt;&amp;lt;ARG&amp;gt; depends on the type. It can only be non-empty for the binary,&lt;br/&gt;
    date, date_go, date_ms, and date_oracle types.
		&lt;ul&gt;
			&lt;li&gt;Three characters, if used within the argument, must be&lt;br/&gt;
      backslash-escaped: &apos;(&apos;, &apos;)&apos;, and &apos;\&apos;.&lt;/li&gt;
			&lt;li&gt;For the &apos;binary&apos; type, the argument is the encoding and must be one of&lt;br/&gt;
      base64, base32, or hex. The base64 and base32 variants correspond to&lt;br/&gt;
      the standard defined in RFC 4648.&lt;/li&gt;
			&lt;li&gt;For any of the &apos;date&apos; types, the argument is a datetime layout string&lt;br/&gt;
      corresponding to the following:
			&lt;ul&gt;
				&lt;li&gt;&apos;date&apos; aliases to &apos;date_go&apos;&lt;/li&gt;
				&lt;li&gt;&apos;date_go&apos; layouts correspond to the Golang time.Parse function&lt;/li&gt;
				&lt;li&gt;&apos;date_ms&apos; layouts correspond to the Microsoft SQL Server FORMAT function&lt;/li&gt;
				&lt;li&gt;&apos;date_oracle&apos; layouts correspond to the Oracle Database TO_DATE function&lt;/li&gt;
			&lt;/ul&gt;
			&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
		&lt;li&gt;examples:
		&lt;ul&gt;
			&lt;li&gt;&apos;zipcode.string()&apos;&lt;/li&gt;
			&lt;li&gt;&apos;followerCount.int32()&apos;&lt;/li&gt;
			&lt;li&gt;&apos;user thumbnail.binary(base64)&apos;&lt;/li&gt;
			&lt;li&gt;&apos;verified.boolean()&apos;&lt;/li&gt;
			&lt;li&gt;&apos;misc.auto()&apos;&lt;/li&gt;
			&lt;li&gt;&apos;created.date_ms(MM/dd/yyyy hh:mm:ss)&apos;&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="293443">DOCS-8094</key>
            <summary>mongoimport typed fields</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="allison.moore@mongodb.com">Allison Reinheimer Moore</assignee>
                                    <reporter username="lucas.morales">Lucas Morales</reporter>
                        <labels>
                            <label>docs-3.4</label>
                    </labels>
                <created>Mon, 13 Jun 2016 17:08:18 +0000</created>
                <updated>Thu, 17 Nov 2016 16:51:27 +0000</updated>
                            <resolved>Thu, 17 Nov 2016 16:51:16 +0000</resolved>
                                                    <fixVersion>3.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1436684" author="xgen-internal-githook" created="Thu, 17 Nov 2016 16:50:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;schmalliso&apos;, u&apos;name&apos;: u&apos;Allison Moore&apos;, u&apos;email&apos;: u&apos;allison.moore@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-8094&quot; title=&quot;mongoimport typed fields&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-8094&quot;&gt;&lt;del&gt;DOCS-8094&lt;/del&gt;&lt;/a&gt;: adds the --columnsHaveTypes and --parseGrace options&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/e0ca7b425852e4f7d4f0b0f2aa3a8d9c9575cbe9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/e0ca7b425852e4f7d4f0b0f2aa3a8d9c9575cbe9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1304078" author="lucas.morales" created="Thu, 23 Jun 2016 13:10:42 +0000"  >&lt;p&gt;This has been merged with the development branch of mongo-tools.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="21728">TOOLS-67</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 4 Nov 2016 14:05:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 12 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>DOCS-8761</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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 12 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>allison.moore@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>lucas.morales</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmq2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrcrvr:</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="1324">KANBAN BUCKET</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|hrib3j:</customfieldvalue>

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