gparai commented on a change in pull request #1785: DRILL-7242: Handle 
additional boundary cases and compute better estim…
URL: https://github.com/apache/drill/pull/1785#discussion_r283598318
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/common/DrillStatsTable.java
 ##########
 @@ -483,7 +483,7 @@ public static ObjectMapper getMapper() {
       Map<StatisticsKind, Object> statisticsValues = new HashMap<>();
       Double ndv = statsProvider.getNdv(fieldName);
       if (ndv != null) {
-        statisticsValues.put(ColumnStatisticsKind.NVD, ndv);
+        statisticsValues.put(ColumnStatisticsKind.NDV, ndv);
 
 Review comment:
   I thought I had fixed the typo in an earlier PR. Not sure why it is still 
there.

----------------------------------------------------------------
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

Reply via email to