Re: EvalFunc#outputSchema method not called in UDF

2012-08-16 Thread Jonathan Coveney
Just checked -- it's just in trunk. 2012/8/16 Віталій Тимчишин > In 0.9.2 I don't see getInputSchema, so it must be quite fresh :) > > 2012/8/16 Jonathan Coveney > > > Indeed, this is the case. outputSchema is only called when the job is > being > > created on the client side, not on the job si

Re: EvalFunc#outputSchema method not called in UDF

2012-08-16 Thread Віталій Тимчишин
In 0.9.2 I don't see getInputSchema, so it must be quite fresh :) 2012/8/16 Jonathan Coveney > Indeed, this is the case. outputSchema is only called when the job is being > created on the client side, not on the job side. > > In the newer EvalFunc (not sure what version it was introduced in, but

Re: EvalFunc#outputSchema method not called in UDF

2012-08-15 Thread Jonathan Coveney
Indeed, this is the case. outputSchema is only called when the job is being created on the client side, not on the job side. In the newer EvalFunc (not sure what version it was introduced in, but 7 is quite old at this point), there is a public getInputSchema() method which will return the input s

Re: EvalFunc#outputSchema method not called in UDF

2012-08-15 Thread Віталій Тимчишин
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 написав: > Hello everyone, > >I am coding one pig UDF function, like MyUDF: > >public class MyUDF