根因是
For a large table with multiple range queries, if the region count exceeds 128, the last range may be not limited.
问题在于扫描的region超过128就会报错。analyze后能正常,可能是有了比较准确的统计信息后,扫描的region个数小于128了。
当然重启能解决更好,不过我感觉恐怕于事无补。
另外这个issue,其实代码改动非常小。
[image]
改动一下pd代码里面对应文件的这个判断的位置就完成修复了。
如果着急,不如自己搞个8.5.…