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

    https://github.com/apache/spark/pull/15908#discussion_r88316429
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingQueryStatusSuite.scala
 ---
    @@ -72,7 +72,11 @@ class StreamingQueryStatusSuite extends SparkFunSuite {
       test("json") {
         assert(StreamingQueryStatus.testStatus.json ===
           """
    -        
|{"sourceStatuses":[{"description":"MySource1","offsetDesc":"#0","inputRate":15.5,
    +        
|{"name":"query","id":1,"timestamp":123,"inputRate":15.5,"processingRate":23.5,
    +        |"latency":345.0,"triggerDetails":{"latency.getBatch.total":"20",
    +        
|"numRows.input.total":"100","isTriggerActive":"true","batchId":"5",
    +        |"latency.getOffset.total":"10","isDataPresentInTrigger":"true"},
    +        
|"sourceStatuses":[{"description":"MySource1","offsetDesc":"#0","inputRate":15.5,
             
|"processingRate":23.5,"triggerDetails":{"numRows.input.source":"100",
             |"latency.getOffset.source":"10","latency.getBatch.source":"20"}}],
    --- End diff --
    
    I would consider removing `source`.  It is already nested inside of the 
list of sources.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to