[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-02-15 Thread Koji Noguchi (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366248#comment-16366248 ] Koji Noguchi commented on PIG-4608: --- bq. To me, UPDATE $1 with r+$2 means update the first field,

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-02-15 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366223#comment-16366223 ] Will Lauer commented on PIG-4608: - To me, {{UPDATE $1 with r+$2}} means update the first field, regardless

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-02-15 Thread Koji Noguchi (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366197#comment-16366197 ] Koji Noguchi commented on PIG-4608: --- {quote}The idea is to make ".." syntax more flexible, {quote} I think

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-25 Thread Koji Noguchi (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340555#comment-16340555 ] Koji Noguchi commented on PIG-4608: --- {quote}I didn't see UPDATE/DROP in a single statement in the example,

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-23 Thread Daniel Dai (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16336593#comment-16336593 ] Daniel Dai commented on PIG-4608: - bq. a = FOREACH b UPDATE q AS q:int – This should be illegal, right? If

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-18 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16331344#comment-16331344 ] Rohini Palaniswamy commented on PIG-4608: - bq. a = FOREACH b UPDATE q AS q:int – This should be

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-18 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16331309#comment-16331309 ] Will Lauer commented on PIG-4608: - Ok, just to close the loop, here are several examples given the new

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-17 Thread Daniel Dai (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16329539#comment-16329539 ] Daniel Dai commented on PIG-4608: - "add" (or append?)/"update xxx as"/"drop" syntax sounds good to me. We

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-17 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16329258#comment-16329258 ] Will Lauer commented on PIG-4608: - {quote}This is Yahoo-centric, but would it be possible to grep our logs

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-17 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16329135#comment-16329135 ] Will Lauer commented on PIG-4608: - I like drop. If everyone else agrees, I'll change my patch to use that

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-16 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16327955#comment-16327955 ] Rohini Palaniswamy commented on PIG-4608: - bq. As for the 'update val AS col' versus 'update col BY

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-16 Thread Kevin J. Price (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16327736#comment-16327736 ] Kevin J. Price commented on PIG-4608: - This is Yahoo-centric, but would it be possible to grep our logs

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-16 Thread Koji Noguchi (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16327686#comment-16327686 ] Koji Noguchi commented on PIG-4608: --- For now, can we just require separate statements for update and

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-16 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16327602#comment-16327602 ] Will Lauer commented on PIG-4608: - While up in the middle of the night dealing with a sick child, I realized

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-14 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325889#comment-16325889 ] Will Lauer commented on PIG-4608: - OK, a review request has been posted for my initial pass at the code:

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-14 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325888#comment-16325888 ] Will Lauer commented on PIG-4608: - I took a pass at allowing add, update, and delete in the same command,

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2018-01-12 Thread Will Lauer (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16324986#comment-16324986 ] Will Lauer commented on PIG-4608: - I've gone ahead and made a patch to implement a version of this

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2015-06-22 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14596409#comment-14596409 ] Rohini Palaniswamy commented on PIG-4608: - Sounds good. Can we just add ... for the

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2015-06-22 Thread Kevin J. Price (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14596462#comment-14596462 ] Kevin J. Price commented on PIG-4608: - Several of us actually discussed this at some

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2015-06-22 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14596469#comment-14596469 ] Rohini Palaniswamy commented on PIG-4608: - The problem with the implicit add is that

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2015-06-19 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14594020#comment-14594020 ] Rohini Palaniswamy commented on PIG-4608: - Actually why not just make it as updated

[jira] [Commented] (PIG-4608) FOREACH ... UPDATE

2015-06-19 Thread Jacob Tolar (JIRA)
[ https://issues.apache.org/jira/browse/PIG-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14594401#comment-14594401 ] Jacob Tolar commented on PIG-4608: -- Hi Rohini, are you suggesting this: {code} updated =