[ https://issues.apache.org/jira/browse/DRILL-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286545#comment-16286545 ]
ASF GitHub Bot commented on DRILL-5730: --------------------------------------- Github user paul-rogers commented on a diff in the pull request: https://github.com/apache/drill/pull/1045#discussion_r156180593 --- Diff: contrib/storage-mongo/src/main/java/org/apache/drill/exec/store/mongo/MongoRecordReader.java --- @@ -91,9 +90,9 @@ public MongoRecordReader(MongoSubScan.MongoSubScanSpec subScanSpec, List<SchemaP subScanSpec.getMinFilters(), subScanSpec.getMaxFilters()); buildFilters(subScanSpec.getFilter(), mergedFilters); - enableAllTextMode = fragmentContext.getOptions().getOption(ExecConstants.MONGO_ALL_TEXT_MODE).bool_val; - readNumbersAsDouble = fragmentContext.getOptions().getOption(ExecConstants.MONGO_READER_READ_NUMBERS_AS_DOUBLE).bool_val; - isBsonRecordReader = fragmentContext.getOptions().getOption(ExecConstants.MONGO_BSON_RECORD_READER).bool_val; + enableAllTextMode = fragmentContext.getOptionSet().getOption(ExecConstants.MONGO_ALL_TEXT_MODE).bool_val; + readNumbersAsDouble = fragmentContext.getOptionSet().getOption(ExecConstants.MONGO_READER_READ_NUMBERS_AS_DOUBLE).bool_val; + isBsonRecordReader = fragmentContext.getOptionSet().getOption(ExecConstants.MONGO_BSON_RECORD_READER).bool_val; --- End diff -- More to replace. > Fix Unit Test failures on JDK 8 And Some JDK 7 versions > ------------------------------------------------------- > > Key: DRILL-5730 > URL: https://issues.apache.org/jira/browse/DRILL-5730 > Project: Apache Drill > Issue Type: Bug > Reporter: Timothy Farkas > Assignee: Timothy Farkas > > Tests fail on JDK 8 and oracle JDK 7 on my mac > Failed tests: > TestMetadataProvider.tables:153 expected:<OK> but was:<FAILED> > TestMetadataProvider.tablesWithTableNameFilter:212 expected:<OK> but > was:<FAILED> > TestMetadataProvider.tablesWithSystemTableFilter:187 expected:<OK> but > was:<FAILED> > TestMetadataProvider.tablesWithTableFilter:176 expected:<OK> but > was:<FAILED> > Tests in error: > TestInfoSchema.selectFromAllTables » UserRemote SYSTEM ERROR: > URISyntaxExcepti... > TestCustomUserAuthenticator.positiveUserAuth » UserRemote SYSTEM ERROR: > URISyn... > TestCustomUserAuthenticator.positiveUserAuthAfterNegativeUserAuth » > UserRemote > TestViewSupport.infoSchemaWithView:350->BaseTestQuery.testRunAndReturn:344 > » Rpc > TestParquetScan.testSuccessFile:58->BaseTestQuery.testRunAndReturn:344 » > Rpc o... -- This message was sent by Atlassian JIRA (v6.4.14#64029)