This enum contains the possible merge operatons, for example for the merge operation menu on Partitioner returned by the pdg.mergeOperationMenu
function.
Values ¶
pdg.attribMergeType.Ignore
The attribute is ignored, and not merged at all
pdg.attribMergeType.FirstValue
The first value for the attribute is kept when merging, and other values are discarded
pdg.attribMergeType.LastValue
The last value for the attribute is kept when merging, and other values are discarded
pdg.attribMergeType.UniqueValues
The list of unique value(s) across all work items that have the attribute are kept. The order of the values matches the order of the work items themselves.
pdg.attribMergeType.AppendArray
Attribute values across all work items are concatenated into an array. The order of the values matches the order of the work items themselves.
pdg.attribMergeType.Minimum
The minimum attribute value is kept
pdg.attribMergeType.Maximum
The maximum attribute value is kept
pdg.attribMergeType.Sum
The sum of all attribute values is kept, assuming the attribute is numeric
pdg.attribMergeType.Average
The average attribute value is kept, assuming the attribute is numeric
pdg.attribMergeType.Mode
The most common attribute value is kept
pdg.attribMergeType.Median
The middle attribute value is kept
pdg.attribMergeType.Sorted
Attribute values across all work items are merged into a sorted array
pdg.attribMergeType.SortedUnique
Attribute values across all work items are merged into a sorted array, and unique values are kept