mirror of https://github.com/apache/druid.git
DeterminePartitionsJob: Fix docs
This commit is contained in:
parent
ee193f0ca7
commit
e3822f6ca7
|
@ -79,13 +79,16 @@ import java.util.Set;
|
|||
|
||||
/**
|
||||
* Determines appropriate ShardSpecs for a job by determining whether or not partitioning is necessary, and if so,
|
||||
* choosing the highest cardinality dimension that satisfies the criteria:
|
||||
* choosing the best dimension that satisfies the criteria:
|
||||
*
|
||||
* <ul>
|
||||
* <li>Must have exactly one value per row.</li>
|
||||
* <li>Must not generate oversized partitions. A dimension with N rows having the same value will necessarily
|
||||
* put all those rows in the same partition, and that partition may be much larger than the target size.</li>
|
||||
* </ul>
|
||||
*
|
||||
* "Best" means a very high cardinality dimension, or, if none exist, the dimension that minimizes segment size
|
||||
* variance.
|
||||
*/
|
||||
public class DeterminePartitionsJob implements Jobby
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue