You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/18 05:49:24 UTC
[GitHub] [spark] HyukjinKwon commented on a change in pull request #30835: [SPARK-33836][SS][PYTHON] Expose DataStreamReader.table and DataStreamWriter.toTable
HyukjinKwon commented on a change in pull request #30835:
URL: https://github.com/apache/spark/pull/30835#discussion_r545587236
##########
File path: python/pyspark/sql/streaming.pyi
##########
@@ -185,3 +186,12 @@ class DataStreamWriter:
def foreachBatch(
self, func: Callable[[DataFrame, int], None]
) -> DataStreamWriter: ...
+ def toTable(
+ self,
+ tableName: str,
+ format: Optional[str] = ...,
+ outputMode: Optional[str] = ...,
+ partitionBy: Optional[Union[str, List[str]]] = ...,
+ queryName: Optional[str] = ...,
+ **options: OptionalPrimitiveType
+ ) -> StreamingQuery: ...
Review comment:
cc @zero323 FYI
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org