hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dere <jd...@hortonworks.com>
Subject Re: UDTF
Date Mon, 28 Jul 2014 23:47:40 GMT

Looking at call hierarchy in Eclipse:

initiaize():
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genUDTFPlan(GenericUDTF, String, ArrayList<String>,
QB, Operator, boolean)
org.apache.hadoop.hive.ql.exec.UDTFOperator.initializeOp(Configuration)


process():
org.apache.hadoop.hive.ql.exec.UDTFOperator.processOp(Object, int)

forward():
org.apache.hadoop.hive.contrib.udtf.example.GenericUDTFCount2.close()
org.apache.hadoop.hive.contrib.udtf.example.GenericUDTFExplode2.process(Object[])
org.apache.hadoop.hive.ql.udf.generic.GenericUDTFExplode.process(Object[])
org.apache.hadoop.hive.ql.udf.generic.GenericUDTFInline.process(Object[])
org.apache.hadoop.hive.ql.udf.generic.GenericUDTFJSONTuple.process(Object[])
org.apache.hadoop.hive.ql.udf.generic.GenericUDTFParseUrlTuple.process(Object[])
org.apache.hadoop.hive.ql.udf.generic.GenericUDTFPosExplode.process(Object[])
org.apache.hadoop.hive.ql.udf.generic.GenericUDTFStack.process(Object[])


On Jul 28, 2014, at 1:05 PM, Doug Christie <Doug.Christie@sas.com> wrote:

> I want to know where the call to initialize for a UDTF is made in the hive source code.
>  
> Doug
>  
> From: Nitin Pawar [mailto:nitinpawar432@gmail.com] 
> Sent: Monday, July 28, 2014 4:03 PM
> To: user@hive.apache.org
> Subject: Re: UDTF
>  
> you want to know how initializes an udtf or how to build udtf ? 
>  
> 
> On Tue, Jul 29, 2014 at 1:30 AM, Doug Christie <Doug.Christie@sas.com> wrote:
> Can anyone point me to the source code in hive where the calls to initialize, process
and forward in a UDTF are made? Thanks.
>  
> Doug
>  
> 
> 
>  
> -- 
> Nitin Pawar


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Mime
View raw message