pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy V. Ryaboy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1261) PigStorageSchema broke after changes to ResourceSchema
Date Fri, 26 Feb 2010 09:50:27 GMT

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

Dmitriy V. Ryaboy updated PIG-1261:

    Attachment: PIG_1261.diff

The json reflection PigStorageSchema is using to auto-serialize and deserialize assumes things
about methods that start with set and get. I renamed the methods.

That's not a good solution, but it's a fast one. 

> PigStorageSchema broke after changes to ResourceSchema
> ------------------------------------------------------
>                 Key: PIG-1261
>                 URL: https://issues.apache.org/jira/browse/PIG-1261
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.7.0
>            Reporter: Daniel Dai
>            Assignee: Dmitriy V. Ryaboy
>             Fix For: 0.7.0
>         Attachments: PIG_1261.diff, TestPigStorageSchema.java
> After we add a new method "getCastString" into ResourceSchema, TestPigStorageSchema begin
to fail. Seems PigStorageSchema try to serialize cast string into the schema. If I change
the name of the method from "getCastString" to "genCastString", then the error message go
away. Since Dmitriy is the author of TestPigStorageSchema, I need his help to check if this
is the right approach to fix it.

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

View raw message