How to run SUM() OVER PARTITION BY for COUNT DISTINCT

后端 未结 0 813
情深已故
情深已故 2021-02-02 14:10

I\'m trying to get the number of distinct users for each event at a daily level while maintainig a running sum for every hour. I\'m using Athena/Presto as the query engine.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题