vvysotskyi commented on a change in pull request #1731: DRILL-7153: Drill Fails
to Build using JDK 1.8.0_65
URL: https://github.com/apache/drill/pull/1731#discussion_r271802435
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FilterEvaluatorUtils.java
##########
@@ -54,9 +54,12 @@
private FilterEvaluatorUtils() {
}
+ @SuppressWarnings("unchecked")
public static RowsMatch evalFilter(LogicalExpression expr,
MetadataBase.ParquetTableMetadataBase footer,
int rowGroupIndex, OptionManager options,
FragmentContext fragmentContext) {
- List<SchemaPath> schemaPathsInExpr = new ArrayList<>(expr.accept(new
FieldReferenceFinder(), null));
+ //This change is necessary to prevent build errors on JDK 1.8.0_65. See
(https://bugs.openjdk.java.net/browse/JDK-8066974)
Review comment:
Please rephrase it to:
```suggestion
// Specifies type arguments explicitly to avoid compilation error caused
by JDK-8066974
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services