Closed kolbe closed 3 years ago
This occurs whether it's 1db.1table or 1table.1col et cetera:
tidb> select * from 1table.1col;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 22 near ".1col"
tidb> select * from table.1col;
ERROR 1146 (42S02): Table 'table.1col' doesn't exist
tidb> select * from db.1table.1col;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 24 near ".1col"
I bisected this to a regression of https://github.com/pingcap/tidb/pull/21908
@xiongjiwei do you mind taking a look?
Bug Report
Please answer these questions before submitting your issue. Thanks!