Re: Query On Pig

2014-07-01 Thread Pradeep Gollakota
i. Equals can be mimicked by specifying both = and = (i.e. -lte=123 -gte=123) ii. What do you mean by taking a partial rowkey? the lte and gte are partial matches. On Mon, Jun 30, 2014 at 10:24 PM, Nivetha K nivethak3...@gmail.com wrote: Hi, Iam working with Pig. I need to know some

Re:Re: Re: Questions about dependencies included in withouth-hadoop jar file and lib directory.

2014-07-01 Thread lulynn_2008
Hi Deniel, with new struntured pig package, the scripts run succeeded with pig-0.12.0. I just did following: 1. devided without hadoop jar into pig core and pig core dependencies. 2. save jars in 1# in lib directory 3. in pig script, always add all the jars in lib directory into classpath and add

Re: Query On Pig

2014-07-01 Thread Nivetha K
(i) There is no direct way to take exact match (ii) Partial row key means consider my rowkeys are 123456,123678,123678,124789,124789.. i need to take the rowkeys starts with 123 On 1 July 2014 11:36, Pradeep Gollakota pradeep...@gmail.com wrote: i. Equals can be mimicked

Re: Query On Pig

2014-07-01 Thread Pradeep Gollakota
i. That's correct. ii. If the key partial match is at the beginning of the row key, then what you're looking for is the -gte and -lt/-lte flags. If you want to start with 123, you just specify -gte 123 -lt 124. This would have the same affect as a partial starts with match. If what you're looking

Re: Re: Re: Questions about dependencies included in withouth-hadoop jar file and lib directory.

2014-07-01 Thread Daniel Dai
I see what's happening. JarManager finds the enclosing jar from classpath and wrap those into job.jar. Originally I want to ship dependent jars separately through distributed cache, so we don't have to create job.jar every time, and those jars will get reused due to PIG-2672, and for Pig on tez,