Need to downcast exec with derived_cast before calling stream().