ccaominh opened a new pull request #8565: Adjust defaults for hashed 
partitioning
URL: https://github.com/apache/incubator-druid/pull/8565
 
 
   ### Description
   
   If neither the partition size nor the number of shards are specified,
   default to partitions of 5,000,000 rows (similar to the behavior of
   dynamic partitions). Previously, both could be null and cause incorrect
   behavior.
   
   Specifying both a partition size and a number of shards now results in
   an error instead of ignoring the partition size in favor of using the
   number of shards. This is a behavior change that makes it more apparent
   to the user that only one of the two properties will be honored
   (previously, a message was just logged when the specified partition size
   was ignored).
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added documentation for new or modified features or behaviors.
   - [x] added comments explaining the "why" and the intent of the code 
wherever would not be obvious for an unfamiliar reader.
   - [x] added unit tests or modified existing tests to cover new code paths.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to