viirya commented on code in PR #380:
URL: https://github.com/apache/datafusion-comet/pull/380#discussion_r1590377985
##########
spark/src/test/scala/org/apache/comet/exec/CometColumnarShuffleSuite.scala:
##########
@@ -64,6 +64,21 @@ abstract class CometColumnarShuffleSuite extends
CometTestBase with AdaptiveSpar
import testImplicits._
+ setupTestData()
+
+ test("Disable Comet shuffle with AQE coalesce partitions enabled") {
+ withSQLConf(
+ CometConf.COMET_EXEC_ENABLED.key -> "true",
+ SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
+ SQLConf.COALESCE_PARTITIONS_ENABLED.key -> "true",
+ SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1") {
+ val df = sql(
+ "SELECT * FROM (SELECT * FROM testData WHERE key = 0) t1 FULL JOIN " +
+ "testData2 t2 ON t1.key = t2.a")
+ checkShuffleAnswer(df, 0)
+ }
+ }
Review Comment:
This test can reproduce the Java Arrow memory leak issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]