Why isn't `last_by` updating when called on ticking data?
I'm calling last_by
on a ticking table. The resultant table isn't ticking with the upstream ticking table. What's going on?
The last_by
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 last_by
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 first_by
instead. Otherwise, don't reverse a ticking table before calling last_by
.
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.