0

在我的表事件时间列看起来像,

2017-03-25T03:18:00001Z
2017-03-25T05:21:00013Z

我只想按事件时间和日期分组。

2017-03-18, 2017-03-21
4

2 回答 2

1

在 theGROUP BYSELECT从句中使用它。

cast (from_iso8601_timestamp(eventtime) as date) 
于 2017-03-27T04:54:13.293 回答
0
GROUP BY CAST(myDateTime AS DATE)
于 2017-03-27T04:12:49.440 回答