gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kazuomi Kashii (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-143) GoraCompiler needs to add "import FixedSize" statement for FIXED type
Date Tue, 05 Jun 2012 14:49:22 GMT

     [ 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

        

Mime
View raw message