<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:21:45 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>[CDRIVER-4724] Fetching data decimal data  from CLOB looses precision</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4724</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;Fetching data decimal data &#160;from CLOB looses precision&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Environment&quot;&gt;&lt;/a&gt;Environment&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;son lib 1.21.1&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;linuxamd64.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;gcc 8&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;For &#160;a data &apos;{&quot;a&quot;: 0.1234567890123456789012345, &quot;b&quot;: &quot;0.1234567890123456789012345&quot; } after calling&lt;/em&gt;&#160;&lt;em&gt;bson_init_from_json&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;when trying to access &apos;a &apos; we are getting 0.12345678901234568. we need full data.&lt;/em&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;on analysis what we noticed is that the type of the data is BSON_TYPE_DOUBLE so 16 precisions are considered .&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;is this behaviour expected? is there any way to preserve the full precision. I know decfloat will, do but how can we control the conversion in&lt;/em&gt; &#160;&lt;em&gt;bson_init_from_json.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#1a1a1a&quot;&gt;Additional Background&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Please provide any additional background information that may be helpful in diagnosing the bug.&lt;/em&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2442911">CDRIVER-4724</key>
            <summary>Fetching data decimal data  from CLOB looses precision</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="arunmrmv@gmail.com">arun mr</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Sep 2023 06:07:26 +0000</created>
                <updated>Mon, 18 Sep 2023 08:42:20 +0000</updated>
                            <resolved>Mon, 18 Sep 2023 08:41:57 +0000</resolved>
                                    <version>1.21.1</version>
                                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5710402" author="JIRAUSER1269924" created="Mon, 18 Sep 2023 08:41:57 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4725&quot; title=&quot;Fetching data decimal data  from CLOB looses precision&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4725&quot;&gt;&lt;del&gt;CDRIVER-4725&lt;/del&gt;&lt;/a&gt;. Discussion can be continued in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4725&quot; title=&quot;Fetching data decimal data  from CLOB looses precision&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4725&quot;&gt;&lt;del&gt;CDRIVER-4725&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="5706291" author="dbeng-pm-bot" created="Fri, 15 Sep 2023 06:07:29 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=arunmrmv%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;arunmrmv@gmail.com&quot;&gt;arunmrmv@gmail.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2442912">CDRIVER-4725</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i28mhk:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>