cloud-fan commented on a change in pull request #24129: [SPARK-27190][SQL] add 
table capability for streaming
URL: https://github.com/apache/spark/pull/24129#discussion_r267298770
 
 

 ##########
 File path: 
sql/core/src/main/java/org/apache/spark/sql/sources/v2/reader/Scan.java
 ##########
 @@ -21,9 +21,8 @@
 import org.apache.spark.sql.sources.v2.reader.streaming.ContinuousStream;
 import org.apache.spark.sql.sources.v2.reader.streaming.MicroBatchStream;
 import org.apache.spark.sql.types.StructType;
-import org.apache.spark.sql.sources.v2.SupportsContinuousRead;
-import org.apache.spark.sql.sources.v2.SupportsMicroBatchRead;
 import org.apache.spark.sql.sources.v2.Table;
+import org.apache.spark.sql.sources.v2.TableCapability;
 
 Review comment:
   it's related to streaming: 
https://github.com/apache/spark/pull/24129/files#diff-d111d7e2179b55465840c9a81ea004f2R76
   
   The only unnecessary change is the doc for batch. I replace `BATCH_READ` 
with a java doc link, to be consistent with streaming.

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