I'm not sure if you can find anything from the Query plan for why this is happening. This fails either with or without inlining. Regards,
Difficult to tell without investing some considerable time I guess… How does the original query look like that produces this query plan? Maybe we still have a chance to get this reproducible?