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

Ferdy Galema commented on GORA-187:
-----------------------------------

Thanks for you explanation. It's perfectly clear now.

I agree that it is a good idea to remove fields when they are set to their 
default values, instead of writing the default value. It should make no 
difference for clients either way.

If you make a proposal patch, I'll be happy to review it.
                
> gora-hbase always writing column when dirty, even if value is default or null
> -----------------------------------------------------------------------------
>
>                 Key: GORA-187
>                 URL: https://issues.apache.org/jira/browse/GORA-187
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: storage-hbase
>    Affects Versions: 0.2.1
>         Environment: Ubuntu 12.04, HBase 0.92.0
>            Reporter: Alfonso Nishikawa
>            Priority: Minor
>
> When writing a field (tested with 'long' default '0'), if it is not dirty 
> when saving, will not write the column. If setted to 1 and back to 0, saving 
> will write that default value.
> With strings, after fixing [GORA-183], noticed that null values are too 
> written (being default or not).

--
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