anishshri-db commented on code in PR #49996:
URL: https://github.com/apache/spark/pull/49996#discussion_r1962739507
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateStoreSuite.scala:
##########
@@ -77,6 +77,16 @@ class RocksDBStateStoreSuite extends
StateStoreSuiteBase[RocksDBStateStoreProvid
// Verify the version encoded in first byte of the key and value byte
arrays
assert(Platform.getByte(kv.key, Platform.BYTE_ARRAY_OFFSET) ===
STATE_ENCODING_VERSION)
assert(Platform.getByte(kv.value, Platform.BYTE_ARRAY_OFFSET) ===
STATE_ENCODING_VERSION)
+
+ val (expectedKey, expectedValue) = if (conf.stateStoreEncodingFormat ==
"avro") {
Review Comment:
Maybe add some explanation for what the test is doing ?
--
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]