vvysotskyi commented on a change in pull request #1923: DRILL-7479: Partial
fixes for metadata parameterized type issues
URL: https://github.com/apache/drill/pull/1923#discussion_r357679019
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/expr/ComparisonPredicate.java
##########
@@ -88,11 +88,11 @@ private ComparisonPredicate(LogicalExpression left,
@Override
@SuppressWarnings("unchecked")
public RowsMatch matches(StatisticsProvider<C> evaluator) {
- ColumnStatistics leftStat = left.accept(evaluator, null);
+ ColumnStatistics<BigInteger> leftStat = (ColumnStatistics<BigInteger>)
left.accept(evaluator, null);
Review comment:
Actually, the value here may be not only with `BigInteger` type. Please use
`C` for generic and do the cast after the check for `VARDECIMAL` type.
----------------------------------------------------------------
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