druid/docs
Chi Cao Minh aeac0d4fd3 Adjust defaults for hashed partitioning (#8565)
* Adjust defaults for hashed partitioning

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

* Fix test

* Handle -1 as null

* Add -1 as null tests for single dim partitioning

* Simplify logic to handle -1 as null

* Address review comments
2019-09-21 20:57:40 -07:00
..
_bin autogenerate NOTICE.BINARY from NOTICE and licenses.yaml (#8306) 2019-08-21 12:46:27 -07:00
assets Web console: Update web console docs for 0.16.0 (#8530) 2019-09-13 09:09:36 -07:00
comparisons Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
configuration Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
dependencies Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
design Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
development add support for dogstatsd events in statsd-emitter (#8546) 2019-09-19 08:12:30 -07:00
ingestion Adjust defaults for hashed partitioning (#8565) 2019-09-21 20:57:40 -07:00
misc Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
operations Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
querying Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00
tutorials Spellcheck docs (#8548) 2019-09-17 12:47:30 -07:00