wForget commented on code in PR #7113:
URL: https://github.com/apache/incubator-gluten/pull/7113#discussion_r1743195872
##########
gluten-ut/spark35/src/test/scala/org/apache/spark/sql/sources/GlutenInsertSuite.scala:
##########
@@ -113,6 +114,13 @@ class GlutenInsertSuite
spark.sparkContext.removeSparkListener(taskListener)
spark.listenerManager.unregister(queryListener)
}
+
+ // check no fallback nodes
+ val df2 = spark.sql("INSERT INTO TABLE pt2 SELECT * FROM pt")
+ checkWriteFilesAndGetChild(df2)
+ val fallbackSummary = GlutenImplicits
+ .collectQueryExecutionFallbackSummary(spark, df2.queryExecution)
+ assert(fallbackSummary.numFallbackNodes == 0)
Review Comment:
sure, ported
--
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]