HeartSaVioR commented on code in PR #54278:
URL: https://github.com/apache/spark/pull/54278#discussion_r2817244616
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBTimestampEncoderOperationsSuite.scala:
##########
@@ -380,16 +528,18 @@ class RocksDBTimestampEncoderOperationsSuite extends
SharedSparkSession
val iter = encoderType match {
// For prefix encoder, we use iterator
case "prefix" =>
- store.iterator()
+ if (useMultipleValuesPerKey) store.iteratorWithMultiValues()
Review Comment:
Done
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBTimestampEncoderOperationsSuite.scala:
##########
@@ -380,16 +528,18 @@ class RocksDBTimestampEncoderOperationsSuite extends
SharedSparkSession
val iter = encoderType match {
// For prefix encoder, we use iterator
case "prefix" =>
- store.iterator()
+ if (useMultipleValuesPerKey) store.iteratorWithMultiValues()
+ else store.iterator()
// For postfix encoder, we use prefix scan with ("key1", 1) as the
prefix key
case "postfix" =>
- store.prefixScan(keyToRow("key1", 1))
+ if (useMultipleValuesPerKey)
store.prefixScanWithMultiValues(keyToRow("key1", 1))
Review Comment:
Done
--
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]