Hi Ben,
I'll recap this thread first before I answer.
Pre-aggregation in druid truncates the timestamp, however, my business logic requires me to round up.
Peter suggested that I can transform the incoming timestamp and round up during ingestion with a "transform spec" and
now I am stating my concern that my aggregation also requires stringLast function applied to it, and my concern is that a transform spec on the timestamp will break the correctness
stringLast.
I still need to experiment and see what happens.
But ultimately, my question now is, if I use a transform spec on the __timestamp column, is it still possible for the stringLast to use the original timestamp when calculating stringLast?