Loader refactor to streaming into partition and parsing in the loader session