You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2011/06/08 22:31:59 UTC
[jira] [Created] (PIG-2112) ResourceSchema.toString does not
properly handle maps in the schema
ResourceSchema.toString does not properly handle maps in the schema
-------------------------------------------------------------------
Key: PIG-2112
URL: https://issues.apache.org/jira/browse/PIG-2112
Project: Pig
Issue Type: Bug
Components: impl
Affects Versions: 0.9.0
Reporter: Alan Gates
Assignee: Alan Gates
Priority: Minor
ResourceSchema.toString prints an invalid schema string when there is a map in the schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2112) ResourceSchema.toString does not
properly handle maps in the schema
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-2112:
----------------------------
Attachment: PIG-2112.patch
> ResourceSchema.toString does not properly handle maps in the schema
> -------------------------------------------------------------------
>
> Key: PIG-2112
> URL: https://issues.apache.org/jira/browse/PIG-2112
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Minor
> Fix For: 0.10
>
> Attachments: PIG-2112.patch
>
>
> ResourceSchema.toString prints an invalid schema string when there is a map in the schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2112) ResourceSchema.toString does not
properly handle maps in the schema
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-2112:
----------------------------
Fix Version/s: 0.10
Status: Patch Available (was: Open)
> ResourceSchema.toString does not properly handle maps in the schema
> -------------------------------------------------------------------
>
> Key: PIG-2112
> URL: https://issues.apache.org/jira/browse/PIG-2112
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Minor
> Fix For: 0.10
>
> Attachments: PIG-2112.patch
>
>
> ResourceSchema.toString prints an invalid schema string when there is a map in the schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2112) ResourceSchema.toString does not
properly handle maps in the schema
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-2112:
----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Patch checked in.
> ResourceSchema.toString does not properly handle maps in the schema
> -------------------------------------------------------------------
>
> Key: PIG-2112
> URL: https://issues.apache.org/jira/browse/PIG-2112
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Minor
> Fix For: 0.10
>
> Attachments: PIG-2112.patch
>
>
> ResourceSchema.toString prints an invalid schema string when there is a map in the schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2112) ResourceSchema.toString does not
properly handle maps in the schema
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050043#comment-13050043 ]
Daniel Dai commented on PIG-2112:
---------------------------------
+1
> ResourceSchema.toString does not properly handle maps in the schema
> -------------------------------------------------------------------
>
> Key: PIG-2112
> URL: https://issues.apache.org/jira/browse/PIG-2112
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Minor
> Fix For: 0.10
>
> Attachments: PIG-2112.patch
>
>
> ResourceSchema.toString prints an invalid schema string when there is a map in the schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2112) ResourceSchema.toString does not
properly handle maps in the schema
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046198#comment-13046198 ]
Alan Gates commented on PIG-2112:
---------------------------------
The offending lines are:
{code}
230 if (DataType.isAtomic(this.type)) {
231 sb.append(DataType.findTypeName(this.type));
232 } else {
233 if (this.schema!=null)
234 stringifyResourceSchema(sb, this.schema, this.type,
235 }
{code}
The map never has a schema, but is not atomic, so it's type name or brackets are never printed.
> ResourceSchema.toString does not properly handle maps in the schema
> -------------------------------------------------------------------
>
> Key: PIG-2112
> URL: https://issues.apache.org/jira/browse/PIG-2112
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Minor
>
> ResourceSchema.toString prints an invalid schema string when there is a map in the schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira