dongjoon-hyun commented on a change in pull request #25180: [SPARK-28423][SQL] 
merge Scan and Batch/Stream
URL: https://github.com/apache/spark/pull/25180#discussion_r305115792
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/sources/TextSocketMicroBatchScan.scala
 ##########
 @@ -30,16 +30,18 @@ import org.apache.spark.sql.catalyst.InternalRow
 import org.apache.spark.sql.catalyst.util.DateTimeUtils
 import org.apache.spark.sql.execution.streaming.LongOffset
 import org.apache.spark.sql.sources.v2.reader.{InputPartition, 
PartitionReader, PartitionReaderFactory}
-import org.apache.spark.sql.sources.v2.reader.streaming.{MicroBatchStream, 
Offset}
+import org.apache.spark.sql.sources.v2.reader.streaming.{MicroBatchScan, 
Offset}
+import org.apache.spark.sql.types.StructType
 import org.apache.spark.unsafe.types.UTF8String
 
 /**
- * A MicroBatchReadSupport that reads text lines through a TCP socket, 
designed only for tutorials
+ * A [[MicroBatchScan]] that reads text lines through a TCP socket, designed 
only for tutorials
  * and debugging. This MicroBatchReadSupport will *not* work in production 
applications due to
 
 Review comment:
   `MicroBatchReadSupport` -> `MicroBatchScan`.

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