diff --git a/processing/src/test/java/org/apache/druid/frame/write/FrameWritersTest.java b/processing/src/test/java/org/apache/druid/frame/write/FrameWritersTest.java index 42ed468ec8c3..9d359eed05e0 100644 --- a/processing/src/test/java/org/apache/druid/frame/write/FrameWritersTest.java +++ b/processing/src/test/java/org/apache/druid/frame/write/FrameWritersTest.java @@ -75,42 +75,6 @@ public void test_columnar() Assert.assertEquals(ALLOCATOR_CAPACITY, factory.allocatorCapacity()); } - @Test - public void test_rowBased_unsupportedSortingColumnType() - { - final UnsupportedColumnTypeException e = Assert.assertThrows( - UnsupportedColumnTypeException.class, - () -> FrameWriters.makeFrameWriterFactory( - FrameType.ROW_BASED, - new ArenaMemoryAllocatorFactory(ALLOCATOR_CAPACITY), - RowSignature.builder().add("x", ColumnType.LONG_ARRAY).build(), - Collections.singletonList(new KeyColumn("x", KeyOrder.ASCENDING)) - ) - ); - - Assert.assertEquals("x", e.getColumnName()); - Assert.assertEquals(ColumnType.LONG_ARRAY, e.getColumnType()); - } - - @Test - public void test_rowBased_unsupportedNonSortingColumnType() - { - final FrameWriterFactory factory = FrameWriters.makeFrameWriterFactory( - FrameType.ROW_BASED, - new ArenaMemoryAllocatorFactory(ALLOCATOR_CAPACITY), - RowSignature.builder().add("x", ColumnType.LONG_ARRAY).build(), - Collections.emptyList() - ); - - final UnsupportedColumnTypeException e = Assert.assertThrows( - UnsupportedColumnTypeException.class, - () -> factory.newFrameWriter(new AllNullColumnSelectorFactory()) - ); - - Assert.assertEquals("x", e.getColumnName()); - Assert.assertEquals(ColumnType.LONG_ARRAY, e.getColumnType()); - } - @Test public void test_columnar_unsupportedColumnType() {