This strategy is just for explaining Dataset/DataFrame created by spark.readStream.
It won't affect the execution, because StreamingRelation will be replaced with
StreamingExecutionRelation in StreamingQueryManager and StreamingExecutionRelation will
be replaced with the real relation using the Source in StreamExecution.
This strategy is just for explaining
Dataset/DataFramecreated byspark.readStream. It won't affect the execution, becauseStreamingRelationwill be replaced withStreamingExecutionRelationinStreamingQueryManagerandStreamingExecutionRelationwill be replaced with the real relation using theSourceinStreamExecution.