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 11:25:22 UTC
[GitHub] [spark] zero323 commented on a change in pull request #30835: [SPARK-33836][SS][PYTHON] Expose DataStreamReader.table and DataStreamWriter.toTable
zero323 commented on a change in pull request #30835:
URL: https://github.com/apache/spark/pull/30835#discussion_r545770450
##########
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:
Thanks for the ping and working on this @HyukjinKwon!
----------------------------------------------------------------
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