You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/06/08 10:48:11 UTC

[GitHub] [hive] asolimando commented on pull request #3339: HIVE-26277: Add unit tests for ColumnStatsAggregator classes

asolimando commented on PR #3339:
URL: https://github.com/apache/hive/pull/3339#issuecomment-1149759342

   > Hey @asolimando If the bugs can appear in production I would suggest to create a new JIRA describing the problem or re-purpose this one. It is more important to know that a commit is fixing a bug rather than adding tests.
   
   You are right @zabetak, I'd then rename the Jira ticket as `Fixed NPEs and rounding issues in ColumnStatsAggregator classes` and give the details of what has been fixed in the extended comments, something like:
   ```
   1. lost precision after integer division assigned to float (`densityAvgSum` was incorrectly updated, bug affecting almost all aggregator classes)
   2. checks against potential NPEs (affecting almost all aggregator classes)
   3. NDV lower-bound was not updated and left to zero for Date and Timestamp aggregator classes 
   
   Added unit tests covering all the aggregator classes.
   ```
   WDYT?


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

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org