anishshri-db commented on code in PR #44883:
URL: https://github.com/apache/spark/pull/44883#discussion_r1470251048
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala:
##########
@@ -256,8 +256,7 @@ private[sql] class HDFSBackedStateStoreProvider extends
StateStoreProvider with
// TODO: add support for multiple col families with
HDFSBackedStateStoreProvider
if (useColumnFamilies) {
- throw new UnsupportedOperationException("Multiple column families are
not supported with " +
- s"HDFSBackedStateStoreProvider")
+ throw StateStoreErrors.multipleColumnFamilies("HDFSStateStoreProvider")
Review Comment:
Maybe rephrase as `multipleColumnFamiliesNotSupported` ?
--
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]