【 TiDB 版本】5.7.25-TiDB-v6.5.0
【 Bug 的影响】 影响业务正常使用
【可能的问题复现步骤】
CREATE TABLE test_202304141 (id INT NOT NULL PRIMARY KEY);
CREATE TABLE test_202304142 (id INT NOT NULL PRIMARY KEY);
ALTER TABLE test_202304141 SET TIFLASH REPLICA 1;
SELECT * FROM INFORMATION_SCHEMA.tiflash_replica
WHERE TABLE_NAME = 'test_202304141';
INSERT INTO test_202304141 VALUES (1);
BEGIN;
INSERT INTO test_202304142
SELECT /*+ read_from_storage(tiflash[t]) */ * FROM test_202304141 t;
COMMIT;
【看到的非预期行为】Internal : Can’t find a proper physical plan for this query
【期望看到的行为】正常执行
【相关组件及具体版本】
Release Version: v6.5.0
Edition: Community
Git Commit Hash: 706c3fa3c526cdba5b3e9f066b1a568fb96c56e3
Git Branch: heads/refs/tags/v6.5.0
UTC Build Time: 2022-12-27 03:50:44
GoVersion: go1.19.3
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: tikv