Kishore G
Dan Hill
05/03/2020, 7:23 PMDan Hill
05/03/2020, 7:31 PMDan Hill
05/03/2020, 7:31 PMKishore G
Kishore G
Kishore G
Dan Hill
05/03/2020, 8:05 PMpresto> select platform_id, date_trunc('day',"timestamp") as "date", sum(clicks) as clicks, sum(impressions) as impressions, sum(cost_usd_micros) as cost_usd_micros from pinot.default.events_testing where platform_id = 1 and "timestamp" >= from_iso8601_timestamp('2020-02-01T00:00:00.000Z') and "timestamp" < from_iso8601_timestamp('2020-02-03T00:00:00.000Z') group by platform_id, date_trunc('day',"timestamp") order by date asc, platform_id asc limit 101;
platform_id | date | clicks | impressions | cost_usd_micros
-------------+-------------------------+--------+-------------+-----------------
1 | 2020-01-31 00:00:00.000 | 0 | 1 | 0
1 | 2020-02-01 00:00:00.000 | 1 | 1 | 85791
1 | 2020-02-02 00:00:00.000 | 0 | 5 | 0
https://docs.pinot.apache.org/users/user-guide-query/pinot-query-language
https://github.com/prestodb/presto/blob/78f24709b80f17bc7b7f6a0317cd9ee0515c638e/presto-pinot-toolkit/src/main/java/com/facebook/presto/pinot/query/PinotAggregationProjectConverter.java#L100Dan Hill
05/03/2020, 8:07 PMDan Hill
05/03/2020, 11:58 PMKishore G
Kishore G
Kishore G
Kishore G
Dan Hill
05/04/2020, 12:02 AMKishore G
Kishore G
Kishore G
Dan Hill
05/04/2020, 12:39 AMDan Hill
05/04/2020, 12:39 AMKishore G
Kishore G
Dan Hill
05/04/2020, 12:43 AMKishore G
Dan Hill
05/04/2020, 12:47 AMKishore G
Kishore G
Dan Hill
05/27/2020, 7:03 PMNeha Pawar
Xiang Fu