Do `datetrunc` and `dateTimeConv` have any known i...
# troubleshooting
d
Do
datetrunc
and
dateTimeConv
have any known issues? When I run
select timestamp, sum(impressions) from events group by timestamp
I receive results (30 rows). When I execute the following queries, I get zero rows.
select DATETRUNC('day', timestamp) as date, sum(impressions) from events group by date
select dateTimeConvert(timestamp, '1:MILLISECONDS:EPOCH', '1:DAYS:SIMPLE_DATE_FORMAT:yyyyMMdd tz(America/Los_Angeles)', '1:DAYS') as date, sum(impressions) from events group by date