Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-463

Missing assignment in CassandraSubColumn#getUnionSchema()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.1
    • 0.7
    • None
    • None

    Description

      Here is related code:

          Schema unionSchema = pSchema.getTypes().get(pSchemaPos);
          // default union element
          if ( unionSchema == null )
            pSchema.getTypes().get(CassandraStore.DEFAULT_UNION_SCHEMA);
      

      The return value from pSchema.getTypes().get() should be assigned to unionSchema before returning.

      Attachments

        Activity

          People

            lewismc Lewis John McGibbney
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: