new CastLineageSetter(this, collector).visit();
new ScalarVariableValidator(this).visit();
new StoreAliasSetter(this).visit();
// compute whether output data is sorted or not
new SortInfoSetter(this).visit();
if (!(skipInputOutputValidation || pigContext.inExplain || pigContext.inDumpSchema)) {
// Validate input/output file
new InputOutputFileValidatorVisitor(this, pigContext).visit();
}