Minimal reproduce:
create table t(a longblob);
insert into t values(null),(0x03);
alter table t set tiflash_replica 1;
select avg(a) from t group by a; -- successfully and result is: 0,null
set @@tidb_allow_mpp=1;
select avg(a) from t group by a; -- the query hangs for a long time and no result returns
Cluster version:
Edition: Community
Git Commit Hash: d1297376f1c9ab4835f3cfceec681ce4200aa428
Git Branch: master
UTC Build Time: 2021-03-10 12:30:39
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
Minimal reproduce:
Cluster version: