diff --git a/fe/fe-core/src/test/java/org/apache/doris/datasource/iceberg/dlf/client/IcebergDLFExternalCatalogTest.java b/fe/fe-core/src/test/java/org/apache/doris/datasource/iceberg/dlf/client/IcebergDLFExternalCatalogTest.java index fba0ed04d94186..274163ff639a74 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/datasource/iceberg/dlf/client/IcebergDLFExternalCatalogTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/datasource/iceberg/dlf/client/IcebergDLFExternalCatalogTest.java @@ -51,6 +51,6 @@ public void testNotSupportOperation() { Assert.assertThrows(NotSupportedException.class, () -> catalog.createTable(null)); Assert.assertThrows(NotSupportedException.class, () -> catalog.dropTable(null)); Assert.assertThrows(NotSupportedException.class, () -> catalog.dropTable("", "", true, true, true, true)); - Assert.assertThrows(NotSupportedException.class, () -> catalog.truncateTable(null)); + Assert.assertThrows(NotSupportedException.class, () -> catalog.truncateTable((TruncateTableStmt) null)); } }