liviazhu commented on PR #56319:
URL: https://github.com/apache/spark/pull/56319#issuecomment-4672987963

   > @HeartSaVioR / @liviazhu Could you please review this PR which addresses 
[SPARK-57225](https://issues.apache.org/jira/browse/SPARK-57225)? It makes the 
state data sources (`statestore` and `state-metadata`) explicitly reject write 
operations with a clear `STDS_WRITE_UNSUPPORTED` error instead of falling 
through to a confusing internal error. Thanks!
   
   I wonder if the new internal error should be thrown in `DataSource.scala` 
instead, if the original internal error is confusing, so that all read-only 
sources can benefit, rather than extending the interface for 
State(Meta)DataSource only.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to