PigHowlUtil.getHowlServerPrincipal(job));
HowlSchema howlTableSchema = HowlUtil.getTableSchemaWithPtnCols(table);
try {
PigHowlUtil.validateHowlTableSchemaFollowsPigRules(howlTableSchema);
} catch (IOException e){
throw new PigException(
"Table schema incompatible for reading through HowlLoader :" + e.getMessage()
+ ";[Table schema was "+ howlTableSchema.toString() +"]"
,PigHowlUtil.PIG_EXCEPTION_CODE, e);
}
storeInUDFContext(signature, HowlConstants.HOWL_TABLE_SCHEMA, howlTableSchema);