You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Kazuomi Kashii (JIRA)" <ji...@apache.org> on 2012/06/05 16:49:22 UTC

[jira] [Updated] (GORA-143) GoraCompiler needs to add "import FixedSize" statement for FIXED type

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

Kazuomi Kashii updated GORA-143:
--------------------------------

    Attachment: GORA-143.patch
    
> GoraCompiler needs to add "import FixedSize" statement for FIXED type
> ---------------------------------------------------------------------
>
>                 Key: GORA-143
>                 URL: https://issues.apache.org/jira/browse/GORA-143
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: schema
>            Reporter: Kazuomi Kashii
>         Attachments: GORA-143.patch
>
>
> Since GoraCompiler does not write the following import statement:
> import org.apache.avro.specific.FixedSize;
> for FIXED type like:
>     { "name": "md5",       "type": { "type" : "fixed", "size" : 16, "name" : "MD5" } },
> javac cannot compile the FIXED type class generated by GoraCompiler like:
> src/MD5.java:24: cannot find symbol
> symbol: class FixedSize
> @FixedSize(16)
>  ^
> GoraCompiler should write:
> import org.apache.avro.specific.FixedSize;

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