surekhasaharan commented on a change in pull request #7595: Optimize 
overshadowed segments computation
URL: https://github.com/apache/incubator-druid/pull/7595#discussion_r288859714
 
 

 ##########
 File path: 
core/src/main/java/org/apache/druid/timeline/SegmentWithOvershadowedStatus.java
 ##########
 @@ -31,6 +32,12 @@
 public class SegmentWithOvershadowedStatus implements 
Comparable<SegmentWithOvershadowedStatus>
 {
   private final boolean overshadowed;
+  /**
+   * dataSegment is serialized "unwrapped", i.e. it's properties are included 
as properties of
+   * enclosing class. If in future, if {@Code SegmentWithOvershadowedStatus} 
were to extend {@link DataSegment},
+   * there will be no change in the serialized format.
+   */
+  @JsonUnwrapped
 
 Review comment:
   created #7798 

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

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

Reply via email to