There are STRINGLAST/LONGLAST or LATEST functions for native <https://druid.apache.org/docs/latest/querying/aggregations.html> or SQL <https://druid.apache.org/docs/latest/querying/sql.html> queries, for basic string or number fields. However, if there are cumulative metrics, they can't use these, so you'd need to be cautious about the new rows and what data they contain.
On Tue, Apr 12, 2022 at 12:42 PM LP <pantlava...@gmail.com> wrote: > Hi All, > > How data versioning can be implemented druid? > > For example, if I create a field *"update time"* - is there a way I can > then take only the most relevant data, the most relevant data at a > particular point in time, etc.? > > I want to avoid upsert or overwrite segments. >