inner-1672: column around with `` can't be route (#3163)

Signed-off-by: dcy <dcy10000@gmail.com>
This commit is contained in:
Rico
2022-03-08 15:26:38 +08:00
committed by GitHub
parent f5d80e564b
commit 7be312a60f
@@ -659,7 +659,7 @@ public class ServerSchemaStatVisitor extends MySqlSchemaStatVisitor {
}
private Column getColumnByExpr(SQLIdentifierExpr expr) {
String column = expr.getName();
String column = expr.getName().replaceAll("`", "");
if (currentSchema == null) {
return currentTable == null ? null : new Column(currentTable, column);
} else {