- 博客(1)
- 收藏
- 关注
原创 Hive 处理时间问题
两张表数据如下: test_date: test2_date 想获取每天所在周的周日 单表查询时 select date_add(statis_date,1-dayofweek(statis_date)) from test_date where statis_date>=‘2020-05-10’; 得到如下结果: 两表union all 查询时: select tmp.statis_date from ( select date_add(statis_date,1-dayofweek(sta
2020-05-18 18:39:46 362
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人