<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:47: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>[SERVER-81806] Include BinData sub-type as part of the shape?</title>
                <link>https://jira.mongodb.org/browse/SERVER-81806</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This was a question briefly raised at one point, but I don&apos;t think seriously considered. It seems like it would be a good idea and maybe give some interesting insights.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2457557">SERVER-81806</key>
            <summary>Include BinData sub-type as part of the shape?</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-integration">Backlog - Query Integration</assignee>
                                    <reporter username="charlie.swanson@mongodb.com">Charlie Swanson</reporter>
                        <labels>
                            <label>quick-tech-debt</label>
                    </labels>
                <created>Tue, 3 Oct 2023 16:38:15 +0000</created>
                <updated>Mon, 5 Feb 2024 20:15:03 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5937473" author="maddie.zechar" created="Fri, 8 Dec 2023 22:47:08 +0000"  >&lt;p&gt;This ticket is essentially done but need to be cleaned up in order to open a PR and the test should include every bin data subtype.&#160;&lt;/p&gt;

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

&lt;p&gt;One thing to note is that if we have an array of bson bin data elements, and they&apos;re of different subtypes of bin data, then we can only really serialize as &lt;tt&gt;?array&amp;lt;?binData&amp;gt;&lt;/tt&gt;&#160;&lt;/p&gt;

&lt;p&gt; But if we have an array of bin data where the subtype is all the same say binDataFunction, we could have &lt;tt&gt;?array&amp;lt;?binDataFunction&amp;gt;&lt;/tt&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
This is bc we serialize mixed arrays as &quot;?array&amp;lt;&amp;gt;&quot;- we dont serialize each element.&lt;/p&gt;</comment>
                            <comment id="5876953" author="maddie.zechar" created="Mon, 13 Nov 2023 20:45:28 +0000"  >&lt;p&gt;This ticket is still in progress and was worked on during BF days this sprint. On my branch, there is a jstest and code for checking during serializing the queryStats key if the type of arg in the command is binData and which type of binData it is.&#160;&lt;/p&gt;

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

&lt;p&gt;Charlie and I also discussed that for a pipeline like {&lt;tt&gt;$match: {a: {$gte: new BinData(0, &quot;1234&quot;)&lt;/tt&gt;}, the key would have }}&#160;has a key,&#160;{&lt;tt&gt;}{$match: {a: {$gte: &quot;&lt;/tt&gt;&lt;tt&gt;binDataGeneral&lt;/tt&gt;&lt;tt&gt;&quot;&lt;/tt&gt;}{}}} (as opposed to &#160;{&lt;tt&gt;$match: {a: }}{{{$gte: {&quot;?binData&quot;: {type: &quot;general&quot;&lt;/tt&gt;}}}} which}} adds more nesting than is true to the original query).&#160;&lt;/p&gt;

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

&lt;p&gt;The work that remains to be done on this branch/ticket is changing the &quot;?binData&quot; to the actual binData type eg &quot;binDataGeneral&quot;. The jstest also needs to have more test cases, eg where the key has an array that contains binData.&lt;/p&gt;</comment>
                            <comment id="5756790" author="charlie.swanson" created="Thu, 5 Oct 2023 19:21:03 +0000"  >&lt;p&gt;Some context here: while this may look like a &apos;breaking&apos; change, I don&apos;t think the impact will be that bad. It&apos;s probably worth warning people downstream in cloud that it&apos;s coming though (if/when we schedule it).&lt;/p&gt;

&lt;p&gt;We put this in &apos;quick-tech-debt&apos; since we believe it will help track usage of deprecated bindata sub-types, to one day be a useful data point in the decision whether/when to remove support for them.&lt;/p&gt;</comment>
                            <comment id="5749405" author="charlie.swanson" created="Tue, 3 Oct 2023 17:30:58 +0000"  >&lt;p&gt;moving this to triage for consideration as part of the backlog and not part of PM-2885.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25467"><![CDATA[Query Integration]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 13 Nov 2023 20:45:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 weeks, 5 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>ted.tuckman@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>maddie.zechar@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2t69j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2b3dg:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</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|i2ssev:</customfieldvalue>

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