Prakhar Pande
11/07/2022, 8:16 PMPrakhar Pande
11/08/2022, 1:55 PMMayank
Prakhar Pande
11/08/2022, 3:24 PMMayank
Mayank
FromDateTime(event_time, 'yyyy-MM-dd HH:mm:ss') > cast((now() - 86400000) as long)
. You can do so by comparing the latency of this query against the query where you manually compute and avoid the UDF (for testing purpose)Prakhar Pande
11/09/2022, 10:41 AMselect event_time_epoch , sum(count) as event_counts from nrt_app_open_1 where event_time_epoch > cast((now() - 86400000) as long) group by 1 limit 1000000000
the earlier query was taking around 40ms in the ui. we are currently using gp2 storage class for persistance and for testing we are using a ec2 machine set up in the same VPC.Prakhar Pande
11/09/2022, 12:46 PM