Re: Simple UDF to return array

2014-01-30 Thread Sunita Arvind
--- >> From: *Sunita Arvind* >> Date: Wednesday, January 29, 2014 >> Subject: Simple UDF to return array >> To: "user@hive.apache.org" >> >> >> Hello Experts, >> >> I am trying to write a UDF to parse a logline and provide the output

Re: Simple UDF to return array

2014-01-30 Thread Roberto Congiu
he same object either ways. > > Thank you > Sunita > > -- Forwarded message -- > From: *Sunita Arvind* > Date: Wednesday, January 29, 2014 > Subject: Simple UDF to return array > To: "user@hive.apache.org" > > > Hello Experts, > > I am

Fwd: Simple UDF to return array

2014-01-30 Thread Sunita Arvind
, January 29, 2014 Subject: Simple UDF to return array To: "user@hive.apache.org" Hello Experts, I am trying to write a UDF to parse a logline and provide the output in the form of an array. Basically I want to be able to use LATERAL VIEW explode subsequently to make it into columns. T

Simple UDF to return array

2014-01-29 Thread Sunita Arvind
Hello Experts, I am trying to write a UDF to parse a logline and provide the output in the form of an array. Basically I want to be able to use LATERAL VIEW explode subsequently to make it into columns. This is how a typical log entry looks: 24-JUN-2012 05:00:42 * (CONNECT_DATA=(SERVICE_NAME=abc