<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:56:17 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-84897] POC mqlrun</title>
                <link>https://jira.mongodb.org/browse/SERVER-84897</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Build a proof of concept for an executable called &lt;tt&gt;mqlrun&lt;/tt&gt;. The executable accepts the following:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;A set of input documents, probably encoded as a BSON file.&lt;/li&gt;
	&lt;li&gt;An input query, probably expressed as JSON or extended JSON (or BSON?). Only need to support aggregation (not find, update, or other pieces of MQL).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;tt&gt;mqlrun&lt;/tt&gt; uses the server&apos;s implementation of the aggregation execution system to output the result set after running the agg over the input documents.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;$lookup&lt;/tt&gt;/&lt;tt&gt;$graphLookup&lt;/tt&gt; are out of scope, as are the metadata sources like &lt;tt&gt;$collStats&lt;/tt&gt;, &lt;tt&gt;$indexStats&lt;/tt&gt;, etc. I think text search and geoNear should be out of scope as well.&lt;/p&gt;

&lt;p&gt;POC consists of the following work items:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Make a branch available for the POC in a fork of mongodb/mongo.&lt;/li&gt;
	&lt;li&gt;Build a new executable which depends only on the base/bson libraries and the appropriate execution libraries.&lt;/li&gt;
	&lt;li&gt;Make a new agg data source for scanning the input BSON file.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="520467">SERVER-84897</key>
            <summary>POC mqlrun</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="13201">Fixed</resolution>
                                        <assignee username="justin.seyster@mongodb.com">Justin Seyster</assignee>
                                    <reporter username="david.storch@mongodb.com">David Storch</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 Apr 2018 16:32:02 +0000</created>
                <updated>Fri, 12 Jan 2024 02:53:39 +0000</updated>
                            <resolved>Fri, 20 Apr 2018 15:18:24 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1865486" author="justin.seyster" created="Mon, 16 Apr 2018 18:26:13 +0000"  >&lt;p&gt;I have pushed my current POC to the private 10gen/mongo Github repository on the &apos;jseyster/mqlrun&apos; branch.&lt;/p&gt;</comment>
                            <comment id="1856822" author="justin.seyster" created="Thu, 5 Apr 2018 19:41:12 +0000"  >&lt;p&gt;A quick clarification: the temp directory is optional. mqlrun can execute without a temp directory, but if fails if any sort or group exceeds 1GB and there&apos;s no temp directory. Still, it would be a good idea to gate allowDiskUse=true behind the -t temp directory flag. I&apos;ll do that when I&apos;m applying the rest of the changes from the code review.&lt;/p&gt;</comment>
                            <comment id="1856182" author="david.storch" created="Thu, 5 Apr 2018 13:50:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eliot&quot; class=&quot;user-hover&quot; rel=&quot;eliot&quot;&gt;eliot&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt;, Justin has a rough POC working. (Thanks Justin!) The patch to the server code to build &lt;tt&gt;mqlrun&lt;/tt&gt; is available in the linked CR. A few questions:&lt;/p&gt;

&lt;p&gt;1) What artifacts do you want from us---just the patch? for us to push this to a branch? an Evergreen build? a binary?&lt;/p&gt;

&lt;p&gt;2) Can this code be in a public branch? I assume so; there&apos;s nothing too magical here.&lt;/p&gt;

&lt;p&gt;3) Right now the tool always sets &lt;tt&gt;allowDiskUse=true&lt;/tt&gt;, so you have to provide a tmp directory where it can write data out for external sorts/groups. Is this ok for the POC?&lt;/p&gt;</comment>
                            <comment id="1852716" author="eliot" created="Mon, 2 Apr 2018 20:46:06 +0000"  >&lt;p&gt;This looks right to me.&lt;br/&gt;
I guess outputting bson to stdout is fine.&lt;br/&gt;
It would be nice to have a --jsonOutput flag for debugging.&lt;/p&gt;</comment>
                            <comment id="1852405" author="david.storch" created="Mon, 2 Apr 2018 16:33:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=justin.seyster&quot; class=&quot;user-hover&quot; rel=&quot;justin.seyster&quot;&gt;justin.seyster&lt;/a&gt;, let me know if you have any questions about the requirements for this, or would like to better understand the context. Remember, it&apos;s just a POC, so it doesn&apos;t have to be pretty.&lt;/p&gt;

&lt;p&gt;Also, we estimated that this would take about three days to build. If you discover that it will take longer as you begin work on it, please let me know.&lt;/p&gt;

&lt;p&gt;CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eliot&quot; class=&quot;user-hover&quot; rel=&quot;eliot&quot;&gt;eliot&lt;/a&gt;&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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</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>Mon, 2 Apr 2018 20:46:06 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 43 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>justin.seyster@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htu5kf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htleqn:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2128">Query 2018-04-09</customfieldvalue>
    <customfieldvalue id="2247">Query 2018-04-23</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_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|httrsn:</customfieldvalue>

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