ankitsultana commented on code in PR #17170:
URL: https://github.com/apache/pinot/pull/17170#discussion_r2528285407


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/service/dispatch/timeseries/TimeSeriesDispatchObserver.java:
##########
@@ -61,6 +61,7 @@ public void onNext(Worker.TimeSeriesResponse 
timeSeriesResponse) {
     Throwable error = null;
     try {
       block = 
TimeSeriesBlockSerde.deserializeTimeSeriesBlock(timeSeriesResponse.getPayload().asReadOnlyByteBuffer());
+      block.setMetadata(timeSeriesResponse.getMetadataMap());

Review Comment:
   code-smell: let's move this into the deserialize method?



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

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to