【概述】 场景 + 问题概述
tikv引擎没问题,tiflash报错
mysql> select /*+ read_from_storage(tiflash[scan_avail]) */ count(1) from scan_avail;
mysql>ERROR 1105 (HY000): other error: Storage engine DeltaMerge doesn't support lossy data type modify from Nullable(Int64) to Nullable(Int32)
mysql> select /*+ read_from_storage(tikv[scan_avail]) */ count(1) from scan_avail;
+-----------+
| count(1) |
+-----------+
| 491227210 |
+-----------+
1 row in set (41.42 sec)
【TiDB 版本】
v4.0.4
若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。