1)  use pig  0.12.0
2)  fixed some pig grammar error for new version 0.12.0