public class HiveGenericUdtf
implements HiveInspectors, scala.Product, scala.Serializable
Converts a Hive Generic User Defined Table Generating Function (UDTF) to a
Generator. Note that the semantics of Generators do not allow
Generators to maintain state in between input rows. Thus UDTFs that rely on partitioning
dependent operations like calls to close() before producing output will not operate the same as
in Hive. However, in practice this should not affect compatibility for most sane UDTFs
(e.g. explode or GenericUDTFParseUrlTuple).
Operators that require maintaining state in between input rows should instead be implemented as
user defined aggregations, which have clean semantics even in a partitioned execution.