假设,我有一个格式如下的表格:
sdk_index {device_id, serve_count, event_time}
我想做一个弹性搜索查询,它给我的结果
1. group by device id and take the max(event_time)
2. on the result of 1 check for rows with serve_count > 0 and return the count.
假设,我有一个格式如下的表格:
sdk_index {device_id, serve_count, event_time}
我想做一个弹性搜索查询,它给我的结果
1. group by device id and take the max(event_time)
2. on the result of 1 check for rows with serve_count > 0 and return the count.