cecemei commented on code in PR #18119:
URL: https://github.com/apache/druid/pull/18119#discussion_r2146285833


##########
processing/src/main/java/org/apache/druid/segment/AggregateProjectionMetadata.java:
##########
@@ -119,6 +122,34 @@ public String toString()
            '}';
   }
 
+  /**
+   * Merge two maps of {@link AggregateProjectionMetadata} objects, returning 
a new map with the same keys and merged
+   * metadata. If the schemas do not match, the metadata is not merged and the 
key is not included in the result.
+   *
+   * @param projections1 first map of projections to merge
+   * @param projections2 second map of projections to merge
+   * @return merged map of projections
+   */
+  public static Map<String, AggregateProjectionMetadata> merge(

Review Comment:
   moved it out to `SegmentMetadataQueryQueryToolChest`. 



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