lujiajing1126 commented on code in PR #343:
URL: 
https://github.com/apache/skywalking-banyandb/pull/343#discussion_r1368665642


##########
banyand/measure/measure_query.go:
##########
@@ -54,10 +54,25 @@ type Measure interface {
        GetSchema() *databasev1.Measure
        GetIndexRules() []*databasev1.IndexRule
        GetInterval() time.Duration
+       BuildSchema(other Measure) *databasev1.Measure
 }
 
 var _ Measure = (*measure)(nil)
 
+func (s *measure) BuildSchema(other Measure) *databasev1.Measure {

Review Comment:
   According to our last discussion, we should build topN schema with entity 
names,
   
   
https://github.com/apache/skywalking-banyandb/blob/d722db6bcd52554ef429961600d617d28d561ae5/banyand/measure/metadata.go#L204-L220
   
   The actual entity names written for the TopN data point can be found,
   
   
https://github.com/apache/skywalking-banyandb/blob/d722db6bcd52554ef429961600d617d28d561ae5/banyand/measure/measure_topn.go#L233-L247



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

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to