查询结果和插入结果不一致

Viewed 56

image.png查询的结果是39594.75,yb_type22222=1没有生效,导致全部数据插入
image.png
image.png
不应该出现null的

2 Answers

目前通过 case when paytype is null then '0' else '1' end as yb_type 绕过去,待复现案例,后面继续跟进,有进展会同步到论坛

执行这个再插入看看呢:
set glbal enable_nereids_dml=true