Binary operations are distributed if one side is a constant expression. This only applies for scalars and not for constant series because series need to be matched on labels.
This commit makes that distinction by introducing a IsConstantScalarExpr function and using it in the distributed optimizer.
Binary operations are distributed if one side is a constant expression. This only applies for scalars and not for constant series because series need to be matched on labels.
This commit makes that distinction by introducing a
IsConstantScalarExpr
function and using it in the distributed optimizer.