vrozov commented on a change in pull request #1387: DRILL-6603: Set num_nulls 
for parquet statistics to -1 when actual number is not defined.
URL: https://github.com/apache/drill/pull/1387#discussion_r203544029
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/expr/stat/ParquetPredicatesHelper.java
 ##########
 @@ -48,13 +48,19 @@ static boolean isAllNulls(Statistics stat, long rowCount) {
   }
 
   /**
-   * Checks that column chunk's statistics does not have nulls
+   * Checks that column chunk's statistics does not have nulls.
+   *
+   * <ul>
+   * <li>If number of nulls is more then 0, it means column has nulls.</li>
 
 Review comment:
   I am not sure that this comment adds any value. It is the same as stating 
that if a number of elements in a set is greater than zero, the set is not 
empty.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to