Hive中count統計數量的多種使用方式

其餘環境沒有試,Hive上確定是能夠的。 能夠在count裏使用case when、distinct等處理,知足平常數據統計需求。 select pt_day, count(*), count(uid),count(identifier), count(distinct uid),count(distinct identifier), c
相關文章
相關標籤/搜索