一、数据准备
开始日期-start_date | 结束日期-end_date | 其它字段-col |
2022-05-01 | 2022-05-07 | col |
二、期望结果
生成连续日期-tmp_date | 开始日期-start_date | 结束日期-end_date | 其它字段-col |
2022-05-01 | 2022-05-01 | 2022-05-07 | col |
2022-05-02 | 2022-05-01 | 2022-05-07 | col |
2022-05-03 | 2022-05-01 | 2022-05-07 | col |
2022-05-04 | 2022-05-01 | 2022-05-07 | col |
2022-05-05 | 2022-05-01 | 2022-05-07 | col |
2022-05-06 | 2022-05-01 | 2022-05-07 | col |
2022-05-07 | 2022-05-01 | 2022-05-07 | col |