srowen commented on a change in pull request #24466: [MINOR][TEST][DOC] Execute 
action miss name message
URL: https://github.com/apache/spark/pull/24466#discussion_r278990926
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamTest.scala
 ##########
 @@ -294,7 +294,7 @@ trait StreamTest extends QueryTest with SharedSQLContext 
with TimeLimits with Be
   /** Execute arbitrary code */
   object Execute {
     def apply(name: String)(func: StreamExecution => Any): AssertOnQuery =
-      AssertOnQuery(query => { func(query); true }, "name")
+      AssertOnQuery(query => { func(query); true }, name)
 
 Review comment:
   CC @tdas for a double check but looks like a correct fix

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to