mirror of https://github.com/apache/druid.git
Propagate TooManyRowsInAWindowFault error message properly to the user (#16906)
* Propagate TooManyRowsInAWindowFault error message properly to the user * Add TooManyRowsInAWindowFault to MSQFaultSerdeTest
This commit is contained in:
parent
688b4cf164
commit
a56b5c018d
|
@ -60,6 +60,7 @@ import org.apache.druid.msq.indexing.error.TooManyClusteredByColumnsFault;
|
|||
import org.apache.druid.msq.indexing.error.TooManyColumnsFault;
|
||||
import org.apache.druid.msq.indexing.error.TooManyInputFilesFault;
|
||||
import org.apache.druid.msq.indexing.error.TooManyPartitionsFault;
|
||||
import org.apache.druid.msq.indexing.error.TooManyRowsInAWindowFault;
|
||||
import org.apache.druid.msq.indexing.error.TooManyRowsWithSameKeyFault;
|
||||
import org.apache.druid.msq.indexing.error.TooManySegmentsInTimeChunkFault;
|
||||
import org.apache.druid.msq.indexing.error.TooManyWarningsFault;
|
||||
|
@ -128,6 +129,7 @@ public class MSQIndexingModule implements DruidModule
|
|||
TooManyColumnsFault.class,
|
||||
TooManyInputFilesFault.class,
|
||||
TooManyPartitionsFault.class,
|
||||
TooManyRowsInAWindowFault.class,
|
||||
TooManyRowsWithSameKeyFault.class,
|
||||
TooManySegmentsInTimeChunkFault.class,
|
||||
TooManyWarningsFault.class,
|
||||
|
|
|
@ -85,6 +85,7 @@ public class MSQFaultSerdeTest
|
|||
assertFaultSerde(new TooManyClusteredByColumnsFault(10, 8, 1));
|
||||
assertFaultSerde(new TooManyInputFilesFault(15, 10, 5));
|
||||
assertFaultSerde(new TooManyPartitionsFault(10));
|
||||
assertFaultSerde(new TooManyRowsInAWindowFault(10, 20));
|
||||
assertFaultSerde(new TooManyRowsWithSameKeyFault(Arrays.asList("foo", 123), 1, 2));
|
||||
assertFaultSerde(new TooManySegmentsInTimeChunkFault(DateTimes.nowUtc(), 10, 1, Granularities.ALL));
|
||||
assertFaultSerde(new TooManyWarningsFault(10, "the error"));
|
||||
|
|
Loading…
Reference in New Issue