EvalFunc now has a getInputSchema method, so this is done for you. Unless I am misunderstanding why you want to do?
2013/2/13 Prashant Kommireddi <[email protected]> > Take a look at UDFContext. > > Sent from my iPhone > > On Feb 12, 2013, at 7:54 PM, Russell Jurney <[email protected]> > wrote: > > > I am writing ToJson as a builtin. > > > > How do I send the schema of a builtin UDF to the back-end? In ToJson in > > github, I use udfProp.setProperty("horton.json.udf.schema", > schemaString), > > but this doesn't seem right for a builtin? > > > > -- > > Russell Jurney twitter.com/rjurney [email protected] > datasyndrome.com >
