I understand updating the signature, but no idea what the implementation would look like. This sounds like a good approach to my problem though. And since current stash accepts RelNode, I might be able to use it as-is, though I don't understand the purpose of the second parameter, Class clazz.
Trevor
