This code below from AfaMultiEventListTransformer.cs looks strange, but I can't quite tell if it is a bug or just a candidate for some code-cleanup?
Is a different payloadRepresentation value supposed to be used if Config.ForceRowBasedExecution == true?
Currently both branches of the C ? A : B statement below end up making the same assignment with a new ColumnarRepresentation(typeof(TPayload))
This code below from
AfaMultiEventListTransformer.cs
looks strange, but I can't quite tell if it is a bug or just a candidate for some code-cleanup?Is a different
payloadRepresentation
value supposed to be used ifConfig.ForceRowBasedExecution
== true? Currently both branches of theC ? A : B
statement below end up making the same assignment with anew ColumnarRepresentation(typeof(TPayload))
https://github.com/Microsoft/Trill/blob/eaefac3943f76941955f2169d14f92820e58e6f2/Sources/Core/Microsoft.StreamProcessing/Operators/Afa/AfaMultiEventListTransformer.cs#L52-L58
If this code should always assign the same new ColumnarRepresentation, then I can easily submit a PR to simplify and clarify the code down to: