You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Process Control Data Model To Delta](../code-reference/pipelines/destinations/spark/pcdm_to_delta.md)|||:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
86
+
|[Process Control Data Model Latest Values To Delta](../code-reference/pipelines/destinations/spark/pcdm_latest_to_delta.md)|||:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
Copy file name to clipboardexpand all lines: src/sdk/python/rtdip_sdk/pipelines/destinations/spark/delta.py
+14-9
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,10 @@ class SparkDeltaDestination(DestinationInterface):
30
30
data (DataFrame): Dataframe to be written to Delta
31
31
options (dict): Options that can be specified for a Delta Table write operation (See Attributes table below). Further information on the options is available for [batch](https://docs.delta.io/latest/delta-batch.html#write-to-a-table){ target="_blank" } and [streaming](https://docs.delta.io/latest/delta-streaming.html#delta-table-as-a-sink){ target="_blank" }.
32
32
destination (str): Either the name of the Hive Metastore or Unity Catalog Delta Table **or** the path to the Delta table
33
-
mode (str): Method of writing to Delta Table - append/overwrite (batch), append/complete (stream)
34
-
trigger (str): Frequency of the write operation. Specify "availableNow" to execute a trigger once, otherwise specify a time period such as "30 seconds", "5 minutes"
35
-
query_name (str): Unique name for the query in associated SparkSession
33
+
mode (optional str): Method of writing to Delta Table - append/overwrite (batch), append/update/complete (stream). Default is append
34
+
trigger (optional str): Frequency of the write operation. Specify "availableNow" to execute a trigger once, otherwise specify a time period such as "30 seconds", "5 minutes". Set to "0 seconds" if you do not want to use a trigger. (stream) Default is 10 seconds
35
+
query_name (optional str): Unique name for the query in associated SparkSession. (stream) Default is DeltaDestination
36
+
query_wait_interval (optional int): If set, waits for the streaming query to complete before returning. (stream) Default is None
36
37
37
38
Attributes:
38
39
checkpointLocation (str): Path to checkpoint files. (Streaming)
@@ -50,22 +51,25 @@ class SparkDeltaDestination(DestinationInterface):
0 commit comments