b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
11b61738f3
parser: migrate test-infra to testify ( #29191 )
2021-10-28 12:30:49 +08:00
acb3a89634
expression, parser: fix the result of trim3Args ( #28936 )
2021-10-19 21:00:43 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
85c41d1017
[parser] parser: support builtin function SOUNDEX ( #1161 )
...
* add soundex
* add unit test
2021-10-09 14:53:23 +08:00
c3ac91c0ac
[parser] ast: fix restore panic for TRIM() when arguments contain column name ( #1124 )
2021-10-09 14:53:23 +08:00
67c73b4af9
[parser] restore: make restore sql contains charset information even default charset ( #1012 )
2021-10-09 14:53:23 +08:00
3478f82e55
[parser] fix incorrect convert function restore ( #1015 )
...
* fix convert restore bug
* fmt
* fix
2021-10-09 14:53:23 +08:00
01de34b128
[parser] Add std and stddev function ( #972 )
2021-10-09 14:53:23 +08:00
fa0c1896c7
[parser] let function names like a.b() be parsed successfully ( #876 )
2021-10-09 14:53:23 +08:00
29c3fc2591
[parser] parser: add order by clause in group_concat ( #813 )
2021-10-09 14:53:23 +08:00
b255e058e5
[parser] *: set charset and collate for string literals correctly ( #761 )
...
* done
* address comment
* fix
* revert
2021-10-09 14:53:23 +08:00
46600d4798
[parser] parser, ast: add SetCollatorExpr ( #749 )
...
This ExprNode is equivalent to the `Item_func_set_collation` in MySQL,
it is used to specify the collation for the result of another
expression.
Co-authored-by: tangenta <tangenta@126.com >
2021-10-09 14:53:23 +08:00
9fe4e83705
[parser] parser: add WEIGHT_STRING() function ( #743 )
2021-10-09 14:53:23 +08:00
313a0d13e4
[parser] parser: support sequence function & next value for ( #713 )
2021-10-09 14:53:23 +08:00
048bd7d569
[parser] add definition of json_objectagg ( #378 )
2021-10-09 14:53:23 +08:00
b9268c63bc
[parser] remove dependency on TiDB ( #679 )
2021-10-09 14:53:23 +08:00
568898c8d7
[parser] type/compatibility: fix show create table output of generated column ( #235 )
2021-10-09 14:53:23 +08:00
c938f62ea5
[parser] parser: add charset validation (TiDB #4436 ) ( #220 )
...
* Add charset validation in pattern `CharsetName`, and use it in syntax `CONVERT(expr USING transcoding_name)` and `CHAR(N USING charset_name)`.
* Modify `yyLexer` interface to return different types of error.
2021-10-09 14:53:23 +08:00
3b37352183
[parser] ast: fix the behavior of window function ( #236 )
2021-10-09 14:53:23 +08:00
0e6164a43e
[parser] parser: implement Restore for SelectStmt ( #153 )
2021-10-09 14:53:23 +08:00
4597f2d3c8
[parser] parser: implement Restore for FrameClause, PartitionByClause, WindowSpec and WindowFuncExpr ( #143 )
2021-10-09 14:53:23 +08:00
6d3f99487a
[parser] parser: implement Restore for FuncCallExpr and AggregateFuncExpr ( #102 )
2021-10-09 14:53:23 +08:00
1b27e9e11e
[parser] parser: support window function ast ( #37 )
2021-10-09 14:53:23 +08:00
c270f55405
[parser] *: move github.com/pingcap/tidb/parser here ( #1 )
2021-10-09 14:53:23 +08:00