DRILL-1250 : Fix compilation error in generated code when Drill evaluates an expression that returns a repeated scalar value.