As far as I could see, it's being called only on planning, not on execution. It's a pity and I've thought to open enhancement Jira ticket.
Середа, 15 серпня 2012 р. користувач Zhang Jianfeng <jzhang...@gmail.com> написав: > Hello everyone, > > I am coding one pig UDF function, like MyUDF: > > public class MyUDF extends EvalFunc<Object>{ > > public Object exec(Tuple input) throws IOException() > public Schema outputSchema(Schema input){} > } > > But I found the outputSchema method never called in jobs. I use the 0.7 > pig. Does anyone know why this happens? > > Any thoughts will be appreciated. > > Thanks, > Jian Feng > -- Best regards, Vitalii Tymchyshyn