Github user jacques-n commented on a diff in the pull request:
https://github.com/apache/drill/pull/325#discussion_r49909762
--- Diff:
contrib/storage-mongo/src/main/java/org/apache/drill/exec/store/mongo/MongoGroupScan.java
---
@@ -180,39 +179,39 @@ private void init() throws IOException {
chunksMapping = Maps.newHashMap();
chunksInverseMapping = Maps.newLinkedHashMap();
if (isShardedCluster(client)) {
- MongoDatabase db = client.getDatabase(CONFIG);
- MongoCollection<Document> chunksCollection =
db.getCollection(CHUNKS);
+ MongoDatabase db = client.getDatabase(DrillMongoConstants.CONFIG);
--- End diff --
Can you use a static import here so we don't have a bunch of extra noise in
the patch?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---