}
private void processUDFs(PhysicalPlan plan) throws VisitorException {
if (plan != null) {
//Process Scalars (UDF with referencedOperators)
ScalarPhyFinder scalarPhyFinder = new ScalarPhyFinder(plan);
scalarPhyFinder.visit();
curTezOp.scalars.addAll(scalarPhyFinder.getScalars());
//Process UDFs
udfFinder.setPlan(plan);
udfFinder.visit();
curTezOp.UDFs.addAll(udfFinder.getUDFs());