Re: filter by query result

2015-06-08 Thread Rohini Palaniswamy
http://pig.apache.org/docs/r0.14.0/basic.html#cast-relations

On Wed, May 27, 2015 at 8:34 AM, pth001  wrote:

> Hi,
>
> I am new to pig. First I queried a hive table (x = LOAD 'x' USING
> org.apache.hive.hcatalog.pig.HCatLoader();) and got a single record/value.
> How can I used this single value to filter in another query? I hope to get
> a better performance by filter as soon as possible.
>
> BR,
> Patcharee
>


filter by query result

2015-05-27 Thread pth001

Hi,

I am new to pig. First I queried a hive table (x = LOAD 'x' USING 
org.apache.hive.hcatalog.pig.HCatLoader();) and got a single 
record/value. How can I used this single value to filter in another 
query? I hope to get a better performance by filter as soon as possible.


BR,
Patcharee