[ https://issues.apache.org/jira/browse/BAHIR-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15963290#comment-15963290 ]
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_r110727111 --- 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 -- I can use something @lresende suggested : the data source will look for ways to optimize the query execution by pushing down some of the query predicates into the data store. > 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)