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

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

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

    https://github.com/apache/bahir/pull/41#discussion_r110696516
  
    --- 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 --
    
    This description is a bit unclear.  How about: `When set to true, the _find 
endpoint will be queried.  The _all_docs endpoint will be used when set to 
false (default setting).  Note: When querying against the _find endpoint, RDD 
partition is limited to one so parallel loading is not an available option.`  
Also, I'm having a hard time understanding this: `some query predicates will be 
driven into datastore`.


> 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