[
https://issues.apache.org/jira/browse/GORA-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171178#comment-15171178
]
ASF GitHub Bot commented on GORA-463:
-------------------------------------
GitHub user lewismc opened a pull request:
https://github.com/apache/gora/pull/57
GORA-463 Missing assignment in CassandraSubColumn#getUnionSchema()
This issue addresses https://issues.apache.org/jira/browse/GORA-463
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lewismc/gora GORA-463
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/gora/pull/57.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #57
----
commit e0009e6d6e42d2b2462f28bcff83648f2a1b77a5
Author: Lewis John McGibbney <[email protected]>
Date: 2016-02-28T20:51:17Z
GORA-463 Missing assignment in CassandraSubColumn#getUnionSchema()
----
> 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)