diff --git a/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchDistributedStats.java b/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchDistributedStats.java index 8c03dcb2b992..78b9c85717a0 100644 --- a/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchDistributedStats.java +++ b/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchDistributedStats.java @@ -113,7 +113,7 @@ public void testUnion() @Test public void testIntersect() { - // Estimates are significantly off as they are generated by UNESTIMATED_FILTER_COST_APPROXIMATION_ENABLED + // Estimates are significantly off as they are generated by NON_ESTIMATABLE_PREDICATE_APPROXIMATION_ENABLED statisticsAssertion.check("SELECT * FROM nation INTERSECT SELECT * FROM nation", checks -> checks.estimate(OUTPUT_ROW_COUNT, absoluteError(45))); @@ -124,7 +124,7 @@ public void testIntersect() @Test public void testExcept() { - // Estimates are significantly off as they are generated by UNESTIMATED_FILTER_COST_APPROXIMATION_ENABLED + // Estimates are significantly off as they are generated by NON_ESTIMATABLE_PREDICATE_APPROXIMATION_ENABLED statisticsAssertion.check("SELECT * FROM nation EXCEPT SELECT * FROM nation", checks -> checks.estimate(OUTPUT_ROW_COUNT, absoluteError(45))); diff --git a/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchLocalStats.java b/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchLocalStats.java index f4f9174d8522..88d19e477ad6 100644 --- a/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchLocalStats.java +++ b/testing/trino-tests/src/test/java/io/trino/tests/tpch/TestTpchLocalStats.java @@ -448,7 +448,7 @@ public void testUnion() @Test public void testIntersect() { - // Estimates are significantly off as they are generated by UNESTIMATED_FILTER_COST_APPROXIMATION_ENABLED + // Estimates are significantly off as they are generated by NON_ESTIMATABLE_PREDICATE_APPROXIMATION_ENABLED statisticsAssertion.check("SELECT * FROM nation INTERSECT SELECT * FROM nation", checks -> checks.estimate(OUTPUT_ROW_COUNT, absoluteError(45))); @@ -459,7 +459,7 @@ public void testIntersect() @Test public void testExcept() { - // Estimates are significantly off as they are generated by UNESTIMATED_FILTER_COST_APPROXIMATION_ENABLED + // Estimates are significantly off as they are generated by NON_ESTIMATABLE_PREDICATE_APPROXIMATION_ENABLED statisticsAssertion.check("SELECT * FROM nation EXCEPT SELECT * FROM nation", checks -> checks.estimate(OUTPUT_ROW_COUNT, absoluteError(45)));