You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2019/05/22 19:54:42 UTC

[GitHub] [phoenix] priyankporwal commented on a change in pull request #436: PHOENIX-5118 Index Maintainer writes a wrong value to the empty column

priyankporwal commented on a change in pull request #436: PHOENIX-5118 Index Maintainer writes a wrong value to the empty column
URL: https://github.com/apache/phoenix/pull/436#discussion_r286650369
 
 

 ##########
 File path: phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java
 ##########
 @@ -964,8 +964,7 @@ public Put buildUpdateMutation(KeyValueBuilder kvBuilder, ValueGetter valueGette
             // add the keyvalue for the empty row
             put.add(kvBuilder.buildPut(new ImmutableBytesPtr(indexRowKey),
                 this.getEmptyKeyValueFamily(), dataEmptyKeyValueRef.getQualifierWritable(), ts,
-                // set the value to the empty column name
-                dataEmptyKeyValueRef.getQualifierWritable()));
+                    QueryConstants.EMPTY_COLUMN_VALUE_BYTES_PTR));
 
 Review comment:
   nit: indentation should be consistent with line above.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services