Druid "GroupLatest" Query

So say I have records with the fields a, b, c, and timestamp.

Is there a way to get the sum of the latest c for the each unique a and specific b.

As an example say we had this data set:

`a b c timestamp


Hi Andrei, can you post the SQL query you are trying to do?

Alternatively, it may already be supported in https://github.com/implydata/plyql