cecemei commented on code in PR #17960:
URL: https://github.com/apache/druid/pull/17960#discussion_r2070572723
##########
processing/src/test/java/org/apache/druid/segment/TestSegmentUtils.java:
##########
@@ -260,6 +261,26 @@ public void close()
}
}
+ /**
+ * A test segment that is backed by a {@link RowBasedSegment}. This is used
to test the {@link QueryableIndexSegment}.
+ */
+ public static class InMemoryFakeSegment extends QueryableIndexSegment
+ {
+ private final RowBasedSegment<?> segment;
+
+ public InMemoryFakeSegment(SegmentId segmentId, RowBasedSegment<?> segment)
Review Comment:
updated to construct `RowBasedSegment` in here
--
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]