Disable testLimitWithJoin for Presto on Spark
The test hangs when spilling is enabled for
Presto on Spark.
@@ -15,6 +15,7 @@ package com.facebook.presto.spark;
import com.facebook.presto.testing.QueryRunner;
import com.google.common.collect.ImmutableMap;
+import org.testng.annotations.Test;
import java.nio.file.Paths;
@@ -36,4 +37,16 @@ public class TestPrestoSparkSpilledJoinQueries
configProperties.put("experimental.spiller-spill-path", Paths.get(System.getProperty("java.io.tmpdir"), "presto", "spills").toString());
return createHivePrestoSparkQueryRunner(getTables(), configProperties.build());
}
+
+ // Presto on Spark execution triggers test hanging easily for some unknown reason
+ // Given this is a known flaky test https://github.com/prestodb/presto/issues/13859, disable it for now
+ @Test(enabled = false)
+ @Override
+ public void testLimitWithJoin()
+ {
+ // Join with limit triggers test hanging consistently in Presto on Spark environment
+ // It is related to limit cause because query always succeeds without limit clause,
+ // likely related to early termination of unSpilled partitions
+ // Decreasing task_concurrency and hash_partition_count makes this query succeed
+ }
}
