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

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

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

    https://github.com/apache/bahir/pull/41#discussion_r110701584
  
    --- 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 --
    
    how about this: 
    cloudant.useQuery|false|By default _all_docs endpoint is used if 
configuration 'view' and 'index' (see below) are not set. When useQuery is 
enabled, _find endpoint will be used in place of _all_docs, some of the query 
predicates will be driven into datastore. 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