saintstack commented on a change in pull request #1062: HBASE-23705 Add 
CellComparator to HFileContext
URL: https://github.com/apache/hbase/pull/1062#discussion_r369150752
 
 

 ##########
 File path: 
hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileContext.java
 ##########
 @@ -114,6 +118,11 @@ public HFileContext(HFileContext context) {
     this.hfileName = hfileName;
     this.columnFamily = columnFamily;
     this.tableName = tableName;
+    // If no cellComparator specified, make a guess based off tablename. If 
hbase:meta, then should
+    // be the meta table comparator. Comparators are per table.
+    this.cellComparator = cellComparator != null? cellComparator:
 
 Review comment:
   Implemented.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to