types:change Map to switch in `GetFormatType` (#9851)
types:change Map to switch in `GetFormatType` (#9851)


pingcap/tidb,pingcap/tidb,ngaut/tidb,kyle-wang/tidb,c4pt0r/tidb,Cofyc/tidb,c4pt0r/tidb,coocood/tidb,kyle-wang/tidb,qiuyesuifeng/tidb,pingcap/tidb,XuHuaiyu/tidb,ngaut/tidb,cosmtrek/tidb,qiuyesuifeng/tidb,EvilMcJerkface/tidb,pingcap/tidb,Cofyc/tidb,c4pt0r/tidb,ngaut/tidb,kyle-wang/tidb,ngaut/tidb,kyle-wang/tidb,c4pt0r/tidb,cosmtrek/tidb,c4pt0r/tidb,ngaut/tidb,pingcap/tidb,c4pt0r/tidb,ming-relax/tidb,ngaut/tidb,XuHuaiyu/tidb,ming-relax/tidb,EvilMcJerkface/tidb,coocood/tidb,kyle-wang/tidb,kyle-wang/tidb,pingcap/tidb