You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In starrocks, to_char is rewritten as jodatime_format, jodatime_format and to_char have different meanings, which will lead to query data errors. For example, mm in to_char represents the month, but in jodatime_format, MM represents the month.
Steps to reproduce the behavior (Required)
select to_char(current_date, 'yyyy-mm-dd') as aa
Expected behavior (Required)
2024-10-15
Real behavior (Required)
2024-00-15
StarRocks version (Required)
3.3.4
The text was updated successfully, but these errors were encountered:
In starrocks, to_char is rewritten as jodatime_format, jodatime_format and to_char have different meanings, which will lead to query data errors. For example, mm in to_char represents the month, but in jodatime_format, MM represents the month.
Steps to reproduce the behavior (Required)
select to_char(current_date, 'yyyy-mm-dd') as aa
Expected behavior (Required)
2024-10-15
Real behavior (Required)
2024-00-15
StarRocks version (Required)
3.3.4
The text was updated successfully, but these errors were encountered: