Re: How to group on a group id that is present inside a complex hierarchy

2011-04-05 Thread deepak kumar v
gentle reminder On Fri, Apr 1, 2011 at 10:08 AM, deepak kumar v deepu@gmail.com wrote: any response? On Tue, Mar 29, 2011 at 3:32 PM, deepak kumar v deepu@gmail.comwrote: Hi, Below are list of tuples generated by a UDF. ( ( [stdout#{ (day, age, name, address, ['k1#v1','k2#v2

Re: How to group on a group id that is present inside a complex hierarchy

2011-03-31 Thread deepak kumar v
any response? On Tue, Mar 29, 2011 at 3:32 PM, deepak kumar v deepu@gmail.com wrote: Hi, Below are list of tuples generated by a UDF. ( ( [stdout#{ (day, age, name, address, ['k1#v1','k2#v2'] ) } ] ) ) ( ( [stdout#{ (12/2,22,deepak,newyork, ['k1#v2','k2#v2'] ) } ] ) ) ( ( [stdout

Re: Unable to access Map within a tuple.

2011-03-22 Thread deepak kumar v
iterate through these tuples On Fri, Mar 18, 2011 at 8:48 AM, Daniel Dai jiany...@yahoo-inc.com wrote: Hi, Deepak, Can you be more specific? I did some simple test and cannot reproduce. What is your query? UDF? Daniel On 03/16/2011 11:24 PM, deepak kumar v wrote: Hi, Below are list

[jira] [Commented] (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-22 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13009996#comment-13009996 ] Deepak Kumar V commented on PIG-671: Yee-Haw 2nd Commit. typechecker does not throw

[jira] [Commented] (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-22 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13009997#comment-13009997 ] Deepak Kumar V commented on PIG-671: Should i move the issue to resolved state? (Resolve

Unable to access Map within a tuple.

2011-03-17 Thread deepak kumar v
Hi, Below are list of tuples generated after flattening a bag . (day, age, name, address, ['k1#v1','k2#v2']), (12/2,22,deepak,newyork, ['k1#v1','k2#v2']), (12/3,22,deepak,newjersy, ['k1#v1','k2#v2']) process = foreach inputs generate com.yahoo.peblpig.udf.InvokeProcess($0); Here $0 some how

[jira] Commented: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-14 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13006795#comment-13006795 ] Deepak Kumar V commented on PIG-1885: - Yee-Haw 1st Commit. @Alan Can you review https

[jira] Updated: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-671: --- Status: Open (was: Patch Available) typechecker does not throw an error when multiple arguments

[jira] Updated: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-671: --- Attachment: PIG-671.txt Patch with fix and test case. typechecker does not throw an error when

[jira] Updated: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-671: --- Release Note: The fix is tested against 0.9 Pig source. Unit test cases included. was:The fix

[jira] Updated: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-1885: Status: Open (was: Patch Available) SUBSTRING fails when input length less than start

[jira] Updated: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-1885: Attachment: PIG-1885.txt SUBSTRING fails when input length less than start

[jira] Updated: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-1885: Release Note: Fix has been tested with 0.9.0 source. (http://svn.apache.org/repos/asf/pig/trunk

[jira] Commented: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13005789#comment-13005789 ] Deepak Kumar V commented on PIG-1885: - Please review. SUBSTRING fails when input

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-11 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13005790#comment-13005790 ] Deepak Kumar V commented on PIG-671: Please review the patch submitted on 11/Mar

Re: PIG-671

2011-03-08 Thread deepak kumar v
/deepakkv/Documents/opensource/pig/working/pig_1299575686422.log grunt quit Regards, Deepak On Tue, Mar 8, 2011 at 12:12 PM, deepak kumar v deepu@gmail.com wrote: Hi Dmitriy, I was looking SUBSTRING.java and thats exactly(getArgToFuncMapping) what i am trying now with COUNT. Waiting

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13003883#comment-13003883 ] Deepak Kumar V commented on PIG-671: Here is the final approach: Include public

[jira] Commented: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13003968#comment-13003968 ] Deepak Kumar V commented on PIG-1885: - There are few more cases that needs to be handled

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004014#comment-13004014 ] Deepak Kumar V commented on PIG-671: I could not locate the option to re-assign

[jira] Updated: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-671: --- Fix Version/s: 0.9.0 Affects Version/s: 0.9.0 Release Note: The fix is tested against

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004096#comment-13004096 ] Deepak Kumar V commented on PIG-671: The following scenarios were tested with the patch

[jira] Updated: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-671: --- Attachment: PIG-671.txt typechecker does not throw an error when multiple arguments are passed

[jira] Updated: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-1885: Attachment: PIG-1885.txt SUBSTRING fails when input length less than start

Re: PIG-671

2011-03-08 Thread deepak kumar v
a schema is known -- Pig might be making a distinction between a bag with a known schema and a bag with an unknown schema, and we definitely want both of those to work. D On Tue, Mar 8, 2011 at 1:58 AM, deepak kumar v deepu@gmail.comwrote: Hi, PFA patch of fix for PIG-671. Used

Re: PIG-671

2011-03-08 Thread deepak kumar v
failures? Also, write it up as proper unit tests so we don't get regressions. D On Tue, Mar 8, 2011 at 10:40 AM, deepak kumar v deepu@gmail.comwrote: Hi Dmitriy, Will checkout TestBuiltins.java once my eclipse setup is ready. Meanwhile i tried the couple of scenarios that you

PIG-671

2011-03-07 Thread deepak kumar v
Hi Pig Developers, This is my first dive into open source contribution and i hope to dive deep. I was going through https://issues.apache.org/jira/browse/PIG-671 and observed the following with COUNT.java COUNT.exec() always retrieves the first item from input tuple which it assumes is a bag and