HeartSaVioR commented on a change in pull request #24990: [SPARK-28191][SS] New 
data source - state - reader part
URL: https://github.com/apache/spark/pull/24990#discussion_r406517786
 
 

 ##########
 File path: 
sql/core/src/main/resources/META-INF/services/org.apache.spark.sql.sources.DataSourceRegister
 ##########
 @@ -5,6 +5,7 @@ org.apache.spark.sql.execution.datasources.noop.NoopDataSource
 org.apache.spark.sql.execution.datasources.orc.OrcFileFormat
 org.apache.spark.sql.execution.datasources.v2.parquet.ParquetDataSourceV2
 org.apache.spark.sql.execution.datasources.v2.text.TextDataSourceV2
+org.apache.spark.sql.execution.datasources.v2.state.StateDataSourceV2
 
 Review comment:
   "state" is the one of the "terms" of "structured streaming" (not actually 
tied to structured streaming but tied to recent streaming technology). It's 
being created and used from structured streaming, but there're some cases we 
want to modify the state "outside" of the streaming query, like changing 
schema, repartitioning, etc. This data source will allow "batch query" to do 
it. (So the data source is not even designed to use from streaming query by 
intention.)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to