date_format 函数问题
SR version : 3.0.2 select date_format(date_sub(current_date(),1),'yyyy-MM');
只是返回了 yyyy-MM、不是期望数据值
select last_day(current_date()); 直接报错了
日期格式必须带%,示例:select date_format(date_sub(current_date(),1),'%Y-%m');
select last_day(current_date()); 直接报错了
Give more information please. It's correct for me.
And, so it's not a problem for the issue?
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!