From 80bf48f437939ddc3bb82c8c7530c8ae419f8427 Mon Sep 17 00:00:00 2001 From: Burak Yavuz Date: Wed, 20 Apr 2016 10:32:01 -0700 Subject: [SPARK-14555] First cut of Python API for Structured Streaming ## What changes were proposed in this pull request? This patch provides a first cut of python APIs for structured streaming. This PR provides the new classes: - ContinuousQuery - Trigger - ProcessingTime in pyspark under `pyspark.sql.streaming`. In addition, it contains the new methods added under: - `DataFrameWriter` a) `startStream` b) `trigger` c) `queryName` - `DataFrameReader` a) `stream` - `DataFrame` a) `isStreaming` This PR doesn't contain all methods exposed for `ContinuousQuery`, for example: - `exception` - `sourceStatuses` - `sinkStatus` They may be added in a follow up. This PR also contains some very minor doc fixes in the Scala side. ## How was this patch tested? Python doc tests TODO: - [ ] verify Python docs look good Author: Burak Yavuz Author: Burak Yavuz Closes #12320 from brkyvz/stream-python. --- python/test_support/sql/streaming/text-test.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 python/test_support/sql/streaming/text-test.txt (limited to 'python/test_support') diff --git a/python/test_support/sql/streaming/text-test.txt b/python/test_support/sql/streaming/text-test.txt new file mode 100644 index 0000000000..ae1e76c9e9 --- /dev/null +++ b/python/test_support/sql/streaming/text-test.txt @@ -0,0 +1,2 @@ +hello +this \ No newline at end of file -- cgit v1.2.3