Has anyone gone out on a student visa and if so did you get a return flight? Assuming I get a year's student visa, can I book a flight with a return date a year later? When I put the dates into Air NZ for eg. it won't accept them?

Obviously we're hoping we won't return but we can't get a one way ticket can we without PR?