[ 
https://issues.apache.org/jira/browse/BAHIR-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15963277#comment-15963277
 ] 

ASF GitHub Bot commented on BAHIR-102:
--------------------------------------

Github user lresende commented on a diff in the pull request:

    https://github.com/apache/bahir/pull/41#discussion_r110724252
  
    --- Diff: sql-cloudant/README.md ---
    @@ -62,6 +62,8 @@ cloudant.protocol|https|protocol to use to transfer data: 
http or https
     cloudant.host||cloudant host url
     cloudant.username||cloudant userid
     cloudant.password||cloudant password
    +cloudant.useQuery|false|When enabled, for query not using index or view, 
_find will be used instead of _all_docs, some query predicates will be driven 
into datastore. However, RDD partition is ONE during _find, so parallel loading 
is not achieved
    --- End diff --
    
    my $ 0.02c, how about something like this... :
    
    Clouding.optimizeQuery | false | When the optimizeQuery is enabled, the 
data source will look for ways to optimize the query execution by rewriting it 
or pushing down the execution to the data store. One example is the utilization 
of explicit _find with query predicates to be executed in the datastore instead 
of _all_docs. However, as RDD partition is ONE during _find, parallel loading 
is not achieved.


> Support pushing down query predicates using Cloudant Query / CouchDB Mango 
> Query
> --------------------------------------------------------------------------------
>
>                 Key: BAHIR-102
>                 URL: https://issues.apache.org/jira/browse/BAHIR-102
>             Project: Bahir
>          Issue Type: Improvement
>            Reporter: Yang Lei
>            Assignee: Yang Lei
>
> The feature of Cloudant Query / ChoudDB Mango Query is stated here: 
> https://blog.couchdb.org/2016/08/03/feature-mango-query/.
> Will enable pushing down first level AND column filtering to _find selector 
> to replace _all_docs for the database query; will continue using skip+limit 
> to offer partition and parallel loading.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to