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 most case, tiflash will fill default value into this virtual generated column. But sometimes tiflash will not see the schema of virtual column (check #40663 (comment)), and issue/40663 will happen.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
tidb/pkg/table/tables/tables.go
Lines 1781 to 1793 in 7569592
L1785 calls
ColumnsToProto()
, it assumeisTiFlashStore
is false(the last argument), which is wrong. Because tiflash can also call this function.And the
GeneratedColumnFlag
will be missed because this bug, checktidb/pkg/util/misc.go
Line 425 in 7569592
In most case, tiflash will fill default value into this virtual generated column. But sometimes tiflash will not see the schema of virtual column (check #40663 (comment)), and issue/40663 will happen.
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master 7569592
The text was updated successfully, but these errors were encountered: