Skip to content

Conversation

@earocorn
Copy link

@earocorn earocorn commented Dec 8, 2025

This adds the descendingOrder parameter to TemporalFilter, which can be used to sort observations, commands, and command statuses. One note is that we cannot currently have an efficient implementation in H2 without upgrading our H2 version, as the newer version of H2's Cursor supports reverse iteration efficiently.

@earocorn earocorn marked this pull request as draft December 8, 2025 21:17
@alexrobin
Copy link
Member

No worries about H2. I think we can do the reverse iteration easily even in this version.

@earocorn earocorn marked this pull request as ready for review December 9, 2025 17:10
@earocorn
Copy link
Author

earocorn commented Dec 9, 2025

I just changed the initial TemporalFilter's range from Range.all(); to Range.open(Instant.MIN, Instant.MAX); and it is working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants