lostluck commented on code in PR #37629:
URL: https://github.com/apache/beam/pull/37629#discussion_r2824289541
##########
sdks/go/pkg/beam/core/state/state.go:
##########
@@ -684,3 +692,128 @@ func MakeSetState[K comparable](k string) Set[K] {
Key: k,
}
}
+
+// OrderedListEntry is an untyped sort-key/value pair used at the Provider
boundary.
+type OrderedListEntry struct {
+ SortKey int64
+ Value any
+}
+
+// TimestampedValue is a typed sort-key/value pair returned to the user.
Review Comment:
OrderedListValue will make the connection to the state type clearer, since
it's largely referencing the sort key as a generic sort key.
--
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]