You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/11/22 01:38:18 UTC

[GitHub] [druid] clintropolis opened a new pull request, #13405: fix off by one error in nested column range index

clintropolis opened a new pull request, #13405:
URL: https://github.com/apache/druid/pull/13405

   ### Description
   Fixes an issue with nested column range index computation which was resulting in an off by 1 on the end index. #13297 almost fixed all of the issues, but as a showcase of how test line and branch coverage just tells you what you want to hear, the test cases were missing a scenario where the local end index was not missing and there were additional global values between the global id of the 'insertion point' of the missing value and the actual global end value. I've added data to the test which covers this case to the string dictionary (which caused a few additional tests to fail prior to the fixes in this PR), as well as additional test cases for range indexes to i think cover all of the scenarios.... i hope 😅 
   
   
   <hr>
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met.
   - [x] been tested in a test Druid cluster.
   


-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] gianm merged pull request #13405: fix off by one error in nested column range index

Posted by GitBox <gi...@apache.org>.
gianm merged PR #13405:
URL: https://github.com/apache/druid/pull/13405


-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org