From 94512a85be3d50b293820e3fe09fb364a5ba5dee Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Tue, 2 Jul 2024 13:56:13 -0700 Subject: [PATCH] Disable CometTakeOrderedAndProjectExec --- .../test/scala/org/apache/spark/sql/CometTPCDSQuerySuite.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spark/src/test/scala/org/apache/spark/sql/CometTPCDSQuerySuite.scala b/spark/src/test/scala/org/apache/spark/sql/CometTPCDSQuerySuite.scala index 979a49f2e3..873a96b6f7 100644 --- a/spark/src/test/scala/org/apache/spark/sql/CometTPCDSQuerySuite.scala +++ b/spark/src/test/scala/org/apache/spark/sql/CometTPCDSQuerySuite.scala @@ -160,6 +160,9 @@ class CometTPCDSQuerySuite conf.set(CometConf.COMET_MEMORY_OVERHEAD.key, "20g") conf.set(CometConf.COMET_SHUFFLE_ENFORCE_MODE_ENABLED.key, "true") conf.set("spark.sql.adaptive.coalescePartitions.enabled", "true") + // Disable `CometTakeOrderedAndProjectExec` because it doesn't produce same output order + // as Spark. + conf.set("spark.comet.exec.takeOrderedAndProjectExec.disabled", "true") conf.set(MEMORY_OFFHEAP_ENABLED.key, "true") conf.set(MEMORY_OFFHEAP_SIZE.key, "20g") conf