[ https://issues.apache.org/jira/browse/DRILL-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723059#comment-15723059 ]
ASF GitHub Bot commented on DRILL-5065: --------------------------------------- Github user adityakishore commented on a diff in the pull request: https://github.com/apache/drill/pull/677#discussion_r90932924 --- Diff: contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/db/MapRDBFormatPluginConfig.java --- @@ -65,6 +68,15 @@ public void setAllTextMode(boolean mode) { allTextMode = mode; } + @JsonProperty("disableCountOptimization") + public void setReadDocumentForCount(boolean mode) { --- End diff -- setter function does not match the parameter. > Optimize count( *) queries on MapR-DB JSON Tables > ------------------------------------------------- > > Key: DRILL-5065 > URL: https://issues.apache.org/jira/browse/DRILL-5065 > Project: Apache Drill > Issue Type: Improvement > Components: Storage - MapRDB > Affects Versions: 1.9.0 > Environment: Clusters with MapR v5.2.0 and above > Reporter: Abhishek Girish > Assignee: Smidth Panchamia > > The JSON FileReader optimizes count(* ) queries, by only counting the number > of records in the files and discarding the data. This makes the query > execution faster & efficient. > We need a similar feature in the MapR format plugin (maprdb) to optimize _id > only projection & count(* ) queries on MapR-DB JSON Tables. -- This message was sent by Atlassian JIRA (v6.3.4#6332)