xiangfu0 commented on code in PR #16556:
URL: https://github.com/apache/pinot/pull/16556#discussion_r2281449628
##########
pinot-core/src/test/java/org/apache/pinot/core/query/reduce/StreamingReduceServiceTest.java:
##########
@@ -91,6 +91,53 @@ public Void answer(InvocationOnMock invocationOnMock)
(cause) -> cause instanceof TimeoutException));
}
+ @Test
+ public void testIgnoreMissingSegmentsFiltering() throws Exception {
+ // Build a metadata-only DataTable with a SERVER_SEGMENT_MISSING exception
encoded as a streaming response
+ org.apache.pinot.common.utils.DataSchema schema =
+ new org.apache.pinot.common.utils.DataSchema(new String[]{"col1"},
+ new org.apache.pinot.common.utils.DataSchema.ColumnDataType[]{
+ org.apache.pinot.common.utils.DataSchema.ColumnDataType.LONG});
+ org.apache.pinot.core.common.datatable.DataTableBuilder builder =
Review Comment:
done
--
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]