[]ast.StmtNode{ &ast.SelectStmt{ dmlNode: ast.dmlNode{ stmtNode: ast.stmtNode{ node: ast.node{text:"select 1", offset:0}, }, }, SelectStmtOpts: &ast.SelectStmtOpts{ Distinct: false, SQLBigResult: false, SQLBufferResult: false, SQLCache: true, SQLSmallResult: false, CalcFoundRows: false, StraightJoin: false, Priority: 0, TableHints: nil, ExplicitAll: false, }, Distinct: false, From: (*ast.TableRefsClause)(nil), Where: nil, Fields: &ast.FieldList{ node: ast.node{}, Fields: { &ast.SelectField{ node: ast.node{text:"1", offset:0}, Offset: 7, WildCard: (*ast.WildCardField)(nil), Expr: &driver.ValueExpr{ TexprNode: ast.exprNode{ node: ast.node{text:"", offset:7}, Type: types.FieldType{ Tp: 0x8, Flag: 0x80, Flen: 1, Decimal: 0, Charset: "binary", Collate: "binary", Elems: nil, }, flag: 0x0, }, Datum: types.Datum{ k: 0x1, decimal: 0x0, length: 0x0, i: 1, collation: "", b: nil, x: nil, }, projectionOffset: -1, }, AsName: model.CIStr{}, Auxiliary: false, }, }, }, GroupBy: (*ast.GroupByClause)(nil), Having: (*ast.HavingClause)(nil), WindowSpecs: nil, OrderBy: (*ast.OrderByClause)(nil), Limit: (*ast.Limit)(nil), LockInfo: (*ast.SelectLockInfo)(nil), TableHints: nil, IsInBraces: false, WithBeforeBraces: false, QueryBlockOffset: 0, SelectIntoOpt: (*ast.SelectIntoOption)(nil), AfterSetOperator: (*ast.SetOprType)(nil), Kind: 0x0, Lists: nil, With: (*ast.WithClause)(nil), }, }