fdb-record-layer icon indicating copy to clipboard operation
fdb-record-layer copied to clipboard

MatchCandidate type fields are generated with nondeterministic order.

Open hatyo opened this issue 2 years ago • 0 comments

When generating the Type information for a MatchCandidate we use this RecordMetaData::getFieldDescriptorMap which returns a HashMap of fields that is translated later to a Record type.

This could cause a problem when attempting to reference some of these fields by ordinal (OrdinalFieldValue) as fields could be enlisted differently between a MatchCandidate and a flown type of another operator.

hatyo avatar Jun 15 '22 11:06 hatyo