Skip to content

DRILL-5065 - Optimize count( * ) queries on MapR-DB JSON Tables#677

Closed
spanchamiamapr wants to merge 3 commits into
apache:masterfrom
spanchamiamapr:drill-5065
Closed

DRILL-5065 - Optimize count( * ) queries on MapR-DB JSON Tables#677
spanchamiamapr wants to merge 3 commits into
apache:masterfrom
spanchamiamapr:drill-5065

Conversation

@spanchamiamapr
Copy link
Copy Markdown
Contributor

In MapR-DB v5.2.0, we enabled '_id' only projection for JSON tables.
Hence, we can now optimize the following queries:
a. count(*) by projecting only the '_id' column.
b. '_id' only projections, including count(_id)

Change the format plugin config parameter name.

In MapR-DB v5.2.0, we enabled '_id' only projection for JSON tables.
Hence, we can now optimize the following queries:
a. count(*) by projecting only the '_id' column.
b. '_id' only projections, including count(_id)

Change the format plugin config parameter name.
}

@JsonProperty("disableCountOptimization")
public void setReadDocumentForCount(boolean mode) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setter function does not match the parameter.

Smidth Panchamia added 2 commits December 5, 2016 13:46
In MapR-DB v5.2.0, we enabled '_id' only projection for JSON tables.
Hence, we can now optimize the following queries:
a. count(*) by projecting only the '_id' column.
b. '_id' only projections, including count(_id)

Change the format plugin config parameter name.

Fix setter of config parameter `disableCountOptimization` for drill-maprdb plugin
…ll-5065

Conflicts:
	contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/db/MapRDBFormatPluginConfig.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants