cecemei commented on code in PR #17960:
URL: https://github.com/apache/druid/pull/17960#discussion_r2070573014
##########
processing/src/test/java/org/apache/druid/query/scan/ScanQueryResultOrderingTest.java:
##########
@@ -87,52 +89,59 @@ public class ScanQueryResultOrderingTest extends
InitializedNullHandlingTest
.add(ID_COLUMN, ColumnType.LONG)
.build();
- private static final List<RowBasedSegment<Object[]>> SEGMENTS =
ImmutableList.of(
- new RowBasedSegment<>(
+ private static final SegmentDescriptor DEFAULT_DESCRIPTOR = new
SegmentDescriptor(Intervals.ETERNITY, "", 0);
+ private static final List<InMemoryFakeSegment> SEGMENTS = ImmutableList.of(
+ new InMemoryFakeSegment(
SegmentId.of(DATASOURCE, Intervals.of("2000-01-01/P1D"), "1", 0),
- Sequences.simple(
- ImmutableList.of(
- new Object[]{DateTimes.of("2000T01"), 101},
- new Object[]{DateTimes.of("2000T01"), 80},
- new Object[]{DateTimes.of("2000T01"), 232},
- new Object[]{DateTimes.of("2000T01"), 12},
- new Object[]{DateTimes.of("2000T02"), 808},
- new Object[]{DateTimes.of("2000T02"), 411},
- new Object[]{DateTimes.of("2000T02"), 383},
- new Object[]{DateTimes.of("2000T05"), 22}
- )
- ),
- ROW_ADAPTER,
- ROW_SIGNATURE
+ new RowBasedSegment<>(
Review Comment:
updated this
--
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]