WriteToStreamStatement Logical Operator¶
WriteToStreamStatement is a unary logical operator (Spark SQL).
Creating Instance¶
WriteToStreamStatement takes the following to be created:
- User-specified Name
- Checkpoint Location
-
useTempCheckpointLocationflag -
recoverFromCheckpointLocationflag - Sink
Table(Spark SQL) - OutputMode
- Hadoop
Configuration -
isContinuousTriggerflag -
LogicalPlan(Spark SQL) of the Input Query - Optional
TableCatalogandIdentifier(default: undefined)
WriteToStreamStatement is created when:
StreamingQueryManageris requested to create a streaming query
Logical Resolution¶
WriteToStreamStatement is resolved to WriteToStream operator using ResolveWriteToStream logical resolution rule.