哪个版本,应该是一个已知bug,看看能否使用非字符串类型主键来规避
Primary key column not found · Issue #38935 · pingcap/tidb (github.com)