select count(*),substr(cast(begintime as string),1,7) from 表名 where begintime > '2018-12-01' group by substr(cast(begintime as string),1,7);
impala group by 日期查询数据量
最新推荐文章于 2024-04-26 20:29:29 发布
select count(*),substr(cast(begintime as string),1,7) from 表名 where begintime > '2018-12-01' group by substr(cast(begintime as string),1,7);