code: func RewriteSimpleExprWithTableInfo(ctx sessionctx.Context, tbl *model.TableInfo, expr ast.ExprNode) (Expression, error) {
  	dbName := model.NewCIStr(ctx.GetSessionVars().CurrentDB)
  	columns := ColumnInfos2ColumnsWithDBName(ctx, dbName, tbl.Name, tbl.Columns)
  	rewriter := &simpleRewriter{ctx: ctx, schema: NewSchema(columns...)}
  	expr.Accept(rewriter)
  	if rewriter.err != nil {
  		return nil, rewriter.err
  	}
  	return rewriter.pop(), nil
  }
docs: // RewriteSimpleExprWithTableInfo rewrites simple ast.ExprNode to expression.Expression.