bvaradar commented on code in PR #10554:
URL: https://github.com/apache/hudi/pull/10554#discussion_r1465256370
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestInsertTable.scala:
##########
@@ -2160,6 +2174,8 @@ class TestInsertTable extends HoodieSparkSqlTestBase {
|union
|select '1' as id, 'aa' as name, 123 as dt, '2023-10-12' as `day`,
12 as `hour`
|""".stripMargin)
+ val stageClassName = classOf[HoodieSparkEngineContext].getSimpleName
+ spark.sparkContext.addSparkListener(new
StageParallelismListener(stageName = stageClassName))
Review Comment:
@xuzifu666 Can you have StageParallelismListener update a shared counter
(static) and assert here that the count increased by atleast one to ensure
StageParallelismListener was indeed called as expected ?
--
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]