Why isn't `lastBy` updating when called on ticking data?

I'm calling lastBy on a ticking table. The resultant table isn't ticking with the upstream ticking table. What's going on?

The lastBy operation returns the last row for each group as specified by the given key column(s). Oftentimes, queries on ticking data call reverse on ticking tables so that new rows appear at the top. This enables users to see new data arrive without having to scroll down to the bottom. The problem with using lastBy in this case is that no new data arrives at the bottom of the table, so the result appears to be static.

If you reverse a ticking table, use firstBy instead. Otherwise, don't reverse a ticking table before calling lastBy.

Note

These FAQ pages contain answers to questions about Deephaven Community Core that our users have asked in our Community Slack. If you have a question that is not in our documentation, join our Community and we'll be happy to help.