executor: improve the way of getting table_id in the TestTiDBHotRegionsHistory (#33328)
executor: improve the way of getting table_id in the TestTiDBHotRegionsHistory (#33328)

close pingcap/tidb#33327
ngaut/tidb,kyle-wang/tidb,pingcap/tidb,pingcap/tidb,ngaut/tidb,c4pt0r/tidb,pingcap/tidb,ngaut/tidb,ngaut/tidb,kyle-wang/tidb,ngaut/tidb,ngaut/tidb,kyle-wang/tidb,kyle-wang/tidb,kyle-wang/tidb,c4pt0r/tidb,c4pt0r/tidb,pingcap/tidb,kyle-wang/tidb,c4pt0r/tidb,pingcap/tidb,c4pt0r/tidb,pingcap/tidb,c4pt0r/tidb