drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacques-n <...@git.apache.org>
Subject [GitHub] drill pull request: DRILL-4275: Refactor e/pstore interfaces and t...
Date Fri, 15 Jan 2016 21:57:14 GMT
Github user jacques-n commented on a diff in the pull request:

    --- 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message