I have my model as an input and want to spit it out at the end as well. But when I try that, I get an error:
Msg 39017, Level 16, State 3, Line 239
Input data query returns column #1 of type ‘varbinary(max)’ which is not supported by the runtime for ‘R’ script. Unsupported types are binary, varbinary, timestamp, datetime2, datetimeoffset, time, text, ntext, image, hierarchyid, xml, sql_variant and user-defined type.
So there goes that plan—I can output a VARBINARY(MAX) model, but I cannot input one.
Click through to see my workaround.