mirror of https://github.com/apache/druid.git
Add info for compation config dialog (#11847)
* add-info-for-compation-config-dialog
* correct the info
* remove space typo
* Revert "remove space typo"
This reverts commit 28b28733ae
.
* remove typo space
* update snapshots for jest-test
This commit is contained in:
parent
a22687ecbe
commit
88bbc8e9e1
|
@ -84,6 +84,33 @@ exports[`CompactionDialog matches snapshot with compactionConfig (dynamic partit
|
|||
<p>
|
||||
A target row count for each partition. Each partition will have a row count close to the target assuming evenly distributed keys. Defaults to 5 million if numShards is null.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"placeholder": "(defaults to 500000)",
|
||||
|
@ -100,11 +127,37 @@ exports[`CompactionDialog matches snapshot with compactionConfig (dynamic partit
|
|||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
is an alias for
|
||||
renamed to
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
. Only one of these properties can be used.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
|
@ -120,6 +173,17 @@ exports[`CompactionDialog matches snapshot with compactionConfig (dynamic partit
|
|||
<p>
|
||||
Directly specify the number of shards to create. If this is specified and 'intervals' is specified in the granularitySpec, the index task can skip the determine intervals/partitions pass through the data.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows across partitions and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.numShards",
|
||||
"type": "number",
|
||||
|
@ -145,9 +209,22 @@ exports[`CompactionDialog matches snapshot with compactionConfig (dynamic partit
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
@ -155,9 +232,22 @@ exports[`CompactionDialog matches snapshot with compactionConfig (dynamic partit
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
@ -355,6 +445,33 @@ exports[`CompactionDialog matches snapshot with compactionConfig (hashed partiti
|
|||
<p>
|
||||
A target row count for each partition. Each partition will have a row count close to the target assuming evenly distributed keys. Defaults to 5 million if numShards is null.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"placeholder": "(defaults to 500000)",
|
||||
|
@ -371,11 +488,37 @@ exports[`CompactionDialog matches snapshot with compactionConfig (hashed partiti
|
|||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
is an alias for
|
||||
renamed to
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
. Only one of these properties can be used.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
|
@ -391,6 +534,17 @@ exports[`CompactionDialog matches snapshot with compactionConfig (hashed partiti
|
|||
<p>
|
||||
Directly specify the number of shards to create. If this is specified and 'intervals' is specified in the granularitySpec, the index task can skip the determine intervals/partitions pass through the data.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows across partitions and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.numShards",
|
||||
"type": "number",
|
||||
|
@ -416,9 +570,22 @@ exports[`CompactionDialog matches snapshot with compactionConfig (hashed partiti
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
@ -426,9 +593,22 @@ exports[`CompactionDialog matches snapshot with compactionConfig (hashed partiti
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
@ -626,6 +806,33 @@ exports[`CompactionDialog matches snapshot with compactionConfig (single_dim par
|
|||
<p>
|
||||
A target row count for each partition. Each partition will have a row count close to the target assuming evenly distributed keys. Defaults to 5 million if numShards is null.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"placeholder": "(defaults to 500000)",
|
||||
|
@ -642,11 +849,37 @@ exports[`CompactionDialog matches snapshot with compactionConfig (single_dim par
|
|||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
is an alias for
|
||||
renamed to
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
. Only one of these properties can be used.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
|
@ -662,6 +895,17 @@ exports[`CompactionDialog matches snapshot with compactionConfig (single_dim par
|
|||
<p>
|
||||
Directly specify the number of shards to create. If this is specified and 'intervals' is specified in the granularitySpec, the index task can skip the determine intervals/partitions pass through the data.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows across partitions and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.numShards",
|
||||
"type": "number",
|
||||
|
@ -687,9 +931,22 @@ exports[`CompactionDialog matches snapshot with compactionConfig (single_dim par
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
@ -697,9 +954,22 @@ exports[`CompactionDialog matches snapshot with compactionConfig (single_dim par
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
@ -897,6 +1167,33 @@ exports[`CompactionDialog matches snapshot without compactionConfig 1`] = `
|
|||
<p>
|
||||
A target row count for each partition. Each partition will have a row count close to the target assuming evenly distributed keys. Defaults to 5 million if numShards is null.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"placeholder": "(defaults to 500000)",
|
||||
|
@ -913,11 +1210,37 @@ exports[`CompactionDialog matches snapshot without compactionConfig 1`] = `
|
|||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
is an alias for
|
||||
renamed to
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
. Only one of these properties can be used.
|
||||
</p>
|
||||
<p>
|
||||
If
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
is left unspecified, the Parallel task will determine
|
||||
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
automatically by
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
|
@ -933,6 +1256,17 @@ exports[`CompactionDialog matches snapshot without compactionConfig 1`] = `
|
|||
<p>
|
||||
Directly specify the number of shards to create. If this is specified and 'intervals' is specified in the granularitySpec, the index task can skip the determine intervals/partitions pass through the data.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
numShards
|
||||
</Unknown>
|
||||
will be used to evenly distribute rows across partitions and find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.numShards",
|
||||
"type": "number",
|
||||
|
@ -958,9 +1292,22 @@ exports[`CompactionDialog matches snapshot without compactionConfig 1`] = `
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of 500MB~1GB.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.targetRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
@ -968,9 +1315,22 @@ exports[`CompactionDialog matches snapshot without compactionConfig 1`] = `
|
|||
},
|
||||
Object {
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
Maximum number of rows to include in a partition.
|
||||
</p>
|
||||
<p>
|
||||
Note that either
|
||||
<Unknown>
|
||||
targetRowsPerSegment
|
||||
</Unknown>
|
||||
or
|
||||
<Unknown>
|
||||
maxRowsPerSegment
|
||||
</Unknown>
|
||||
will be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</React.Fragment>,
|
||||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"required": [Function],
|
||||
"type": "number",
|
||||
|
|
|
@ -85,6 +85,15 @@ export const COMPACTION_CONFIG_FIELDS: Field<CompactionConfig>[] = [
|
|||
A target row count for each partition. Each partition will have a row count close to the
|
||||
target assuming evenly distributed keys. Defaults to 5 million if numShards is null.
|
||||
</p>
|
||||
<p>
|
||||
If <Code>numShards</Code> is left unspecified, the Parallel task will determine{' '}
|
||||
<Code>numShards</Code> automatically by <Code>targetRowsPerSegment</Code>.
|
||||
</p>
|
||||
<p>
|
||||
Note that either <Code>targetRowsPerSegment</Code> or <Code>numShards</Code> will be used
|
||||
to evenly distribute rows and find the best partitioning. Leave blank to show all
|
||||
properties.
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
},
|
||||
|
@ -103,8 +112,16 @@ export const COMPACTION_CONFIG_FIELDS: Field<CompactionConfig>[] = [
|
|||
of 500MB~1GB.
|
||||
</p>
|
||||
<p>
|
||||
<Code>maxRowsPerSegment</Code> is an alias for <Code>targetRowsPerSegment</Code>. Only one
|
||||
of these properties can be used.
|
||||
<Code>maxRowsPerSegment</Code> renamed to <Code>targetRowsPerSegment</Code>
|
||||
</p>
|
||||
<p>
|
||||
If <Code>numShards</Code> is left unspecified, the Parallel task will determine{' '}
|
||||
<Code>numShards</Code> automatically by <Code>targetRowsPerSegment</Code>.
|
||||
</p>
|
||||
<p>
|
||||
Note that either <Code>targetRowsPerSegment</Code> or <Code>numShards</Code> will be used
|
||||
to evenly distribute rows and find the best partitioning. Leave blank to show all
|
||||
properties.
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
|
@ -128,6 +145,11 @@ export const COMPACTION_CONFIG_FIELDS: Field<CompactionConfig>[] = [
|
|||
'intervals' is specified in the granularitySpec, the index task can skip the
|
||||
determine intervals/partitions pass through the data.
|
||||
</p>
|
||||
<p>
|
||||
Note that either <Code>targetRowsPerSegment</Code> or <Code>numShards</Code> will be used
|
||||
to evenly distribute rows across partitions and find the best partitioning. Leave blank to
|
||||
show all properties.
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
},
|
||||
|
@ -157,10 +179,16 @@ export const COMPACTION_CONFIG_FIELDS: Field<CompactionConfig>[] = [
|
|||
!deepGet(t, 'tuningConfig.partitionsSpec.targetRowsPerSegment') &&
|
||||
!deepGet(t, 'tuningConfig.partitionsSpec.maxRowsPerSegment'),
|
||||
info: (
|
||||
<p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments of
|
||||
500MB~1GB.
|
||||
</p>
|
||||
<>
|
||||
<p>
|
||||
Target number of rows to include in a partition, should be a number that targets segments
|
||||
of 500MB~1GB.
|
||||
</p>
|
||||
<p>
|
||||
Note that either <Code>targetRowsPerSegment</Code> or <Code>maxRowsPerSegment</Code> will
|
||||
be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
|
@ -173,7 +201,15 @@ export const COMPACTION_CONFIG_FIELDS: Field<CompactionConfig>[] = [
|
|||
required: (t: CompactionConfig) =>
|
||||
!deepGet(t, 'tuningConfig.partitionsSpec.targetRowsPerSegment') &&
|
||||
!deepGet(t, 'tuningConfig.partitionsSpec.maxRowsPerSegment'),
|
||||
info: <p>Maximum number of rows to include in a partition.</p>,
|
||||
info: (
|
||||
<>
|
||||
<p>Maximum number of rows to include in a partition.</p>
|
||||
<p>
|
||||
Note that either <Code>targetRowsPerSegment</Code> or <Code>maxRowsPerSegment</Code> will
|
||||
be used to find the best partitioning. Leave blank to show all properties.
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
name: 'tuningConfig.partitionsSpec.assumeGrouped',
|
||||
|
|
Loading…
Reference in New Issue