support pig version 11.1 and pig 12.0