gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-463) Missing assignment in CassandraSubColumn#getUnionSchema()
Date Wed, 27 Jan 2016 05:17:40 GMT

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

Lewis John McGibbney updated GORA-463:
--------------------------------------
    Affects Version/s: 0.6.1

> Missing assignment in CassandraSubColumn#getUnionSchema()
> ---------------------------------------------------------
>
>                 Key: GORA-463
>                 URL: https://issues.apache.org/jira/browse/GORA-463
>             Project: Apache Gora
>          Issue Type: Bug
>    Affects Versions: 0.6.1
>            Reporter: Ted Yu
>             Fix For: 0.7
>
>
> Here is related code:
> {code}
>     Schema unionSchema = pSchema.getTypes().get(pSchemaPos);
>     // default union element
>     if ( unionSchema == null )
>       pSchema.getTypes().get(CassandraStore.DEFAULT_UNION_SCHEMA);
> {code}
> The return value from pSchema.getTypes().get() should be assigned to unionSchema before
returning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message