[jira] Updated: (PIG-592) schema inferred incorrectly

2009-10-02 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Resolution: Fixed
Status: Resolved  (was: Patch Available)

Patch committed

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch, PIG-592-2.patch, PIG-592-3.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-10-01 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Status: Patch Available  (was: Open)

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch, PIG-592-2.patch, PIG-592-3.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-10-01 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Attachment: PIG-592-3.patch

Address the failed unit test

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch, PIG-592-2.patch, PIG-592-3.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-10-01 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Status: Open  (was: Patch Available)

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch, PIG-592-2.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-10-01 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Status: Open  (was: Patch Available)

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch, PIG-592-2.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-10-01 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Attachment: PIG-592-2.patch

Fix unit test issues. Pass end-to-end tests.

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch, PIG-592-2.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-10-01 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Status: Patch Available  (was: Open)

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch, PIG-592-2.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-09-28 Thread Olga Natkovich (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olga Natkovich updated PIG-592:
---

Fix Version/s: (was: 0.5.0)
   0.6.0

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.6.0
>
> Attachments: PIG-592-1.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-09-14 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Attachment: PIG-592-1.patch

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.5.0
>
> Attachments: PIG-592-1.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2009-09-14 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-592:
---

Fix Version/s: 0.5.0
Affects Version/s: (was: 0.2.0)
   0.4.0
   Status: Patch Available  (was: Open)

> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.4.0
>Reporter: Christopher Olston
> Fix For: 0.5.0
>
> Attachments: PIG-592-1.patch
>
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-592) schema inferred incorrectly

2008-12-30 Thread Christopher Olston (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher Olston updated PIG-592:
---

Description: 
A simple pig script, that never introduces any schema information:

A = load 'foo';
B = foreach (group A by $8) generate group, COUNT($1);
C = load 'bar';   // ('bar' has two columns)
D = join B by $0, C by $0;
E = foreach D generate $0, $1, $3;

Fails, complaining that $3 does not exist:

java.io.IOException: Out of bound access. Trying to access non-existent column: 
3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).

Apparently Pig gets confused, and thinks it knows the schema for C (a single 
bytearray column).


  was:
A simple pig script, that never introduces any schema information:

A = load 'foo';
B = foreach (group A by $8) generate group, COUNT($1);
C = load 'bar';   // ('bar' has two columns)
D = join B by $0, C by $0;
E = foreach D generate $0, $1, $3;

Fails, complaining that $3 does not exist:

java.io.IOException: Out of bound access. Trying to access non-existent column: 
3. Schema {ID2::group: bytearray,long,bytearray} has 3 column(s).

Apparently Pig gets confused, and thinks it knows the schema for C (a single 
bytearray column).



> schema inferred incorrectly
> ---
>
> Key: PIG-592
> URL: https://issues.apache.org/jira/browse/PIG-592
> Project: Pig
>  Issue Type: Bug
>Affects Versions: types_branch
>Reporter: Christopher Olston
>
> A simple pig script, that never introduces any schema information:
> A = load 'foo';
> B = foreach (group A by $8) generate group, COUNT($1);
> C = load 'bar';   // ('bar' has two columns)
> D = join B by $0, C by $0;
> E = foreach D generate $0, $1, $3;
> Fails, complaining that $3 does not exist:
> java.io.IOException: Out of bound access. Trying to access non-existent 
> column: 3. Schema {B::group: bytearray,long,bytearray} has 3 column(s).
> Apparently Pig gets confused, and thinks it knows the schema for C (a single 
> bytearray column).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.