You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by ni...@researchgate.net on 2013/07/26 14:19:19 UTC
UDTF with optional parameter
Hi,
Is it possible to write a UDTF with an optional parameter? I was
intending to write a function that works like explode, but can provide
extended functionality given an optional integer flag set to 1. Since
GenericUDTF's initialize function only uses ObjectInspector[] I
currently don't see how to inspect the actual value (not just the
type) of an input parameter.
Thanks for your help,
Niko