Hello Kamesh,

It would be nice to have such contribution in the MongoDB Plugin.

I have not yet looked at this in detail, but you can find some optimization
rules for sort and limit here:


https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/SortPrule.java

https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/LimitPrule.java

Probably a good starting point


Note that a JIRA exist on this topic, so if you work on this do not
hesitate to comment/change the status of it:
https://issues.apache.org/jira/browse/DRILL-3165

Regards
Tug
@tgrall

On Tue, Jul 28, 2015 at 8:52 AM, Kamesh <[email protected]> wrote:

> Hi All,
>  We would like to work on pushing operators (like sorting, aggregations)
> into Mongo Storage Plugin. Are there any optimization rules, which we can
> extend it to Mongo Storage Plugin?
>
> --
> Kamesh.
>

Reply via email to