query.addMeasure("impCnt").addMeasure("click");
query.addClosedSlice("dim1", ids[0], ids[1]).addGroupBy("dim1");
query.addHalfOpenSlice("impressionTime", startTime, endTime);
long ms = System.currentTimeMillis();
AggregateResultSet rs = query.execute();
closeables.addFirst(rs);
while (rs.hasNext()) {
rs.next();
AggregateResult ar = rs.current();
System.out.printf("%032X sum/cnt: impCnt %.4f/%d, click %.4f/%d\n",