can you try to cast it to long?
# general
x
can you try to cast it to long?
m
oh nice! I didn't know you could do that, my SQL foo is weak clearly:
Copy code
select count(*)
from pullRequestMergedEvents 
where createdTimeMillis < (now() - cast(1000*120 as long))
limit 10
that works 🙂
thanks!
actually the cast works if I do it before or after the calculation:
Copy code
select count(*)
from pullRequestMergedEvents 
where createdTimeMillis < cast((now() - 1000*60*60) as long)
limit 10