Hi Sachith,
Yes, that's possible, you just need to implement
https://hive.apache.org/javadocs/r0.10.0/api/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.html
Note the class documentation:
"A Generic User-defined function (GenericUDF) for the use with Hive.
New GenericUDF classes need to inherit
ered enough of an issue that some basic
> ETL becomes a non viable solution.
>
> -Ewan
>
> On 05/05/15 09:37, Joe Halliwell wrote:
>>
>> @reynold, I’ll raise a JIRA today.@oliver, let’s discuss on the ticket?
>>
>>
>>
>>
>>
>> I su
Reynold Xin wrote:
>> >
>> > Joe - I think that's a legit and useful thing to do. Do you want to give
>> it
>> > a shot?
>> >
>> > On Mon, May 4, 2015 at 12:36 AM, Joe Halliwell
>> > wrote:
>> >
>> >> I think Rey
I think Reynold’s argument shows the impossibility of the general case.
But a “maximum object depth” hint could enable a new input format to do its job
both efficiently and correctly in the common case where the input is an array
of similarly structured objects! I’d certainly be interested in
Cheers,
Joe
Best regards, Joe