date_format of string to time with "\n" has different behavior with MySQL #4036
Labels
affects-4.0
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
severity/critical
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
create table t (a char(32));
alter table t set tiflash replica 1;
insert into t values ("2022-02-01
16:33:00");
set tidb_enforce_mpp = 1;
select cast(a as datetime) from t;
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
5.3.0
The text was updated successfully, but these errors were encountered: