updating logical plan getter to work with pig 0.12 api