[ 
https://issues.apache.org/jira/browse/GORA-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612857#comment-13612857
 ] 

Keith Turner commented on GORA-216:
-----------------------------------

I created this patch against the gora-174 branch.

For this patch, most of the test in DataStoreTestUtil pass except for 
testGetEmployeeWithFields(). 

This test inserts the following :

ssn = 101010101010 Employee {
  "name":"Random Joe"
  "dateOfBirth":"733511231433"
  "ssn":"101010101010"
  "salary":"100000"
  "boss":"null"
  "webpage":"null"
}

Then the test does  dataStore.get("101010101010", ["webpage"]).  The Accumulo 
store return null for this because the webpage column was not stored.  The test 
expects the following and therefore fails.

Employee {
  "name":"null"
  "dateOfBirth":"0"
  "ssn":"null"
  "salary":"0"
  "boss":"null"
  "webpage":"null"
}

So what is the proper behavior when a row exist, but not the column being 
fetched?


                
> Verify storage and retrieval of Avro null-single- type Union data within 
> Gora-Accumulo
> --------------------------------------------------------------------------------------
>
>                 Key: GORA-216
>                 URL: https://issues.apache.org/jira/browse/GORA-216
>             Project: Apache Gora
>          Issue Type: Sub-task
>          Components: storage-accumulo
>    Affects Versions: 0.3
>            Reporter: Lewis John McGibbney
>             Fix For: 0.3
>
>         Attachments: GORA-216.patch
>
>
> We also need to make sure that we cover the use case for Accumulo.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to