g
in a MR task.
For the other queries try referencing the file as "MyData.txt".
From: Dayong
Sent: Tuesday, April 05, 2016 11:49 AM
To: user@hive.apache.org
Subject: Re: Hive UDF to fetch value from distributed cache not working with
outer que
What if you extends genericUDF
Thanks,
Dayong
> On Apr 5, 2016, at 2:11 PM, Abhishek Dubey wrote:
>
> Hi,
>
>
> We have written a Hive UDF in Java to fetch value from file added in
> distributed cache which works perfectly from a select query like :
>
> Query 1.
>
> select country_key, MyF
Hi,
We have written a Hive UDF in Java to fetch value from file added in
distributed cache which works perfectly from a select query like :
Query 1.
select country_key, MyFunction(country_key,"/data/MyData.txt") as capital from
tablename;
But not working when trying to create table from its