mirror of
https://github.com/apache/druid.git
synced 2025-02-06 10:08:26 +00:00
DeterminePartitionsJob: Fix docs
This commit is contained in:
parent
0eb65f69d4
commit
ce1d90788d
@ -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,
|
* 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>
|
* <ul>
|
||||||
* <li>Must have exactly one value per row.</li>
|
* <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
|
* <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>
|
* put all those rows in the same partition, and that partition may be much larger than the target size.</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
|
*
|
||||||
|
* "Best" means a very high cardinality dimension, or, if none exist, the dimension that minimizes segment size
|
||||||
|
* variance.
|
||||||
*/
|
*/
|
||||||
public class DeterminePartitionsJob implements Jobby
|
public class DeterminePartitionsJob implements Jobby
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user