fn check_mixed_out_refer_in_window(window: &Window) -> Result<()>
Check whether the window expressions contain a mixture of out reference columns and inner columns