Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16962#discussion_r101655346
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/util/DataFrameCallbackSuite.scala 
---
    @@ -159,4 +161,56 @@ class DataFrameCallbackSuite extends QueryTest with 
SharedSQLContext {
     
         spark.listenerManager.unregister(listener)
       }
    +
    +  test("execute callback functions for DataFrameWriter") {
    +    val commands = ArrayBuffer.empty[(String, LogicalPlan)]
    +    val exceptions = ArrayBuffer.empty[(String, Exception)]
    +    val listener = new QueryExecutionListener {
    +      // Only test successful case here, so no need to implement 
`onFailure`
    --- End diff --
    
    invalid comment?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to