[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-16 Thread Yan Zhou (JIRA)

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

Yan Zhou updated PIG-1351:
--

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

Committed to the trunk.

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.7.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Status: Patch Available  (was: Open)

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.7.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: PIG-1351.patch

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.7.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: (was: PIG-1351.patch)

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.7.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: (was: PIG-1351.patch)

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.7.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Status: Open  (was: Patch Available)

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.7.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch, PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

   Status: Patch Available  (was: Open)
Affects Version/s: (was: 0.6.0)
   (was: 0.8.0)

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.7.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch, PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---


One small change: we only check the first non-null map value for map and the 
first record for collection.

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch, PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-15 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: PIG-1351.patch

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch, PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-08 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: PIG-1351.patch

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

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



[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-08 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: (was: PIG-1351.patch)

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

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



[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-07 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: PIG-1351.patch

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

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



[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-07 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: (was: PIG-1351.patch)

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

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



[jira] Updated: (PIG-1351) [Zebra] No type check when we write to the basic table

2010-04-06 Thread Chao Wang (JIRA)

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

Chao Wang updated PIG-1351:
---

Attachment: PIG-1351.patch

> [Zebra] No type check when we write to the basic table
> --
>
> Key: PIG-1351
> URL: https://issues.apache.org/jira/browse/PIG-1351
> Project: Pig
>  Issue Type: Improvement
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Chao Wang
>Assignee: Chao Wang
> Fix For: 0.8.0
>
> Attachments: PIG-1351.patch
>
>
> In Zebra, we do not have any type check when writing to a basic table. 
> Say, we have a schema: "f1:int, f2:string",
> however we can write a tuple ("abc", 123) without any problem, which is 
> definitely not desirable.
> To overcome this problem, we decide to perform certain amount of type 
> checking in Zebra - We check the first row only for each writer.
> This only serves as a sanity check purpose in cases where users screw up 
> specifying the output schema. We do NOT perform a rigorous type checking for 
> all rows for apparently performance concerns.

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