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

    https://github.com/apache/spark/pull/12592#discussion_r60679490
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/StreamTest.scala ---
    @@ -67,12 +67,6 @@ import org.apache.spark.util.Utils
      */
     trait StreamTest extends QueryTest with Timeouts {
     
    -  implicit class RichSource(s: Source) {
    -    def toDF(): DataFrame = Dataset.ofRows(sqlContext, 
StreamingExecutionRelation(s))
    -
    -    def toDS[A: Encoder](): Dataset[A] = Dataset(sqlContext, 
StreamingExecutionRelation(s))
    -  }
    -
       /** How long to wait for an active stream to catch up when checking a 
result. */
    --- End diff --
    
    Removed the above lines to make sure that in future we do not use this 
pattern of creating DF/DS on source for testing.


---
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