phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [phoenix] BinShi-SecularBird commented on a change in pull request #482: PHOENIX-4925 Use Segment tree to organize Guide Post Info
Date Tue, 16 Apr 2019 16:17:39 GMT
BinShi-SecularBird commented on a change in pull request #482: PHOENIX-4925 Use Segment tree
to organize Guide Post Info
URL: https://github.com/apache/phoenix/pull/482#discussion_r275881827
 
 

 ##########
 File path: phoenix-core/src/main/java/org/apache/phoenix/schema/stats/DefaultStatisticsCollector.java
 ##########
 @@ -67,11 +65,15 @@
 public class DefaultStatisticsCollector implements StatisticsCollector {
 
     private static final Log LOG = LogFactory.getLog(DefaultStatisticsCollector.class);
-    
-    final Map<ImmutableBytesPtr, Pair<Long, GuidePostsInfoBuilder>> guidePostsInfoWriterMap
= Maps.newHashMap();
+
+    // Pair<Byte count, Row count>
+    final Map<ImmutableBytesPtr, Pair<Pair<Long, Long>, GuidePostChunkBuilder>>
guidePostsInfoWriterMap = Maps.newHashMap();
+    final Set<ImmutableBytesPtr> writableGudiePosts = Sets.newHashSet();
 
 Review comment:
   Fixed.

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

Mime
View raw message