Minor fragments for the following operators show duplicate entries of the inputProfile (org.apache.drill.exec.ops.OperatorStats instance) when viewed in the Profile UI.
operatorType: 13 is the screen operator, for which there can be only one inputProfile.
It turns out that by default, all minor fragments' operators are provide a list of inputProfiles by org.apache.drill.exec.ops.FragmentStats.newOperatorStats(OpProfileDef, BufferAllocator). However, for the following 4 operators, the org.apache.drill.exec.physical.impl.BaseRootExec constructors also inject OperatorStats.
All updates to the inputProfiles are done by the latter, while the former only reports zero values.
The workaround is to have org.apache.drill.exec.ops.FragmentStats skip injecting the org.apache.drill.exec.ops.OperatorStats instance for these operators