HeartSaVioR commented on code in PR #49742:
URL: https://github.com/apache/spark/pull/49742#discussion_r1936705916
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/ListStateSuite.scala:
##########
@@ -99,6 +99,153 @@ class ListStateSuite extends StateVariableSuiteBase {
}
}
+ // verify that relative ordering of inserted elements is maintained on
retrieval - long type
Review Comment:
The expected behavior is the same with Array/List in Scala, right? Let's
retain the expectation and apply the same operation, and compare. It'd be lot
easier than enumerating all constants across multiple lines.
I think this would help simplifying the test code a lot, especially for case
class.
--
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]