@Override
 public Statistics visitUnknown(LogicalExpression e, Void value) throws RuntimeException {
   if (e instanceof TypedFieldExpr) {
     TypedFieldExpr fieldExpr = (TypedFieldExpr) e;
     final ColumnStatistics columnStatistics = columnStatMap.get(fieldExpr.getPath());
     if (columnStatistics != null) {
       return columnStatistics.getStatistics();
     } else {
       // field does not exist.
       Preconditions.checkArgument(fieldExpr.getMajorType().equals(Types.OPTIONAL_INT));
       IntStatistics intStatistics = new IntStatistics();
       intStatistics.setNumNulls(rowCount); // all values are nulls
       return intStatistics;
     }
   }
   return null;
 }
 private IntStatistics getStatistics(int min, int max) {
   final IntStatistics intStatistics = new IntStatistics();
   intStatistics.setMinMax(min, max);
   return intStatistics;
 }