Commit Graph

2335 Commits

Author SHA1 Message Date
52e89cb8bf planner/core: support union all for mpp. (#24287) 2021-06-02 14:15:38 +08:00
963288a68c planner: build plan for CTE (#24792) 2021-05-28 16:47:35 +08:00
fb3a30ea04 expression: builtin function current_date() and curdate() should return DATE t… (#24950) 2021-05-28 15:27:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
2f96bc7502 expresssion: determine the field type of control function with enum type (#24830) 2021-05-27 11:45:35 +08:00
f891c5a7cb planner: Fix runtime error occurs when illegal mix collate in subquery (#24887) 2021-05-26 21:29:35 +08:00
8a066999f1 *: Remove incorrect global sysvar caching (#24699) 2021-05-26 01:37:34 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
19e100c27a expression: add integration test for JDBC's SHOW VARIABLES (#24834) 2021-05-23 23:31:32 +08:00
6bfc5f8b44 *: support AS OF TIMESTAMP read-only begin statement (#24740) 2021-05-20 20:54:22 +08:00
ca23f55d89 expression: add builtin function `json_pretty` (#24675) 2021-05-20 19:36:22 +08:00
5be8a65633 expression: support cast real/int as real (#24670) 2021-05-20 18:00:22 +08:00
3e41d1473f *: add option for enum push down (#24685) 2021-05-19 14:15:41 +08:00
ac7e6a42c5 expression, planner: push cast down to control function with enum type. (#24542) 2021-05-19 07:51:40 +08:00
5fd17dd7f4 expression: fix the spelling of word arithmetical (#24713) 2021-05-18 16:27:40 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
xhe
031a9fa18b ddl: refactor rule [4/6] (#24007) 2021-05-14 17:05:38 +08:00
80a557eb49 sessionctx: change innodb large prefix default (#24555) 2021-05-14 12:43:38 +08:00
d169a57ba5 util: fix wrong enum building for index range (#24632) 2021-05-14 11:55:38 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
89c0e6c91a ddl: add check table compatibility for temporary table (#24501) 2021-05-12 21:49:40 +08:00
6e348f44d2 parser: update parser to fix Can't recognize numeric literals when set 'ANSI_QUOTES' sql_mode (#24522) 2021-05-11 14:41:39 +08:00
c8bc701170 *: misc cleanups to variable package (#24507) 2021-05-11 13:23:38 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
xhe
96577f9d1d expression: try to fix TestExprPushDownToFlash tests (#24235) 2021-05-10 13:38:43 +08:00
289dcfefdd util: fix enum index range for in/not in clause. (#24431) 2021-05-06 23:05:52 +08:00
0d76e899f4 expression: fix wrong type infer for agg function when type is null (#24290) 2021-04-28 17:25:56 +08:00
8da5a1f113 planner, expression: support enum index scan (#22691) 2021-04-28 15:59:56 +08:00
d67beefb7b executor: make IndexMergeReader support reading partition table directly (#24239) 2021-04-27 11:31:56 +08:00
c1518ac721 expression: fix wrong collation for concat function (#24297) 2021-04-26 22:41:56 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
6084a6a5ff variable: change SetSessionSystemVar to accept string (#24247) 2021-04-26 11:47:55 +08:00
d4b6a4417b expression: fix cast real, decimal to time (#24120) 2021-04-25 17:13:55 +08:00
2c67a8011c expression: fix wrong flen infer for bit constant (#23867) 2021-04-25 16:23:55 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
36b04d1aa0 executor: fix null div 0 for partition key expression is incorrect (#24098) 2021-04-19 15:17:52 +08:00
xhe
3ec37294f1 ddl: refactor constraint [2/6] (#24005) 2021-04-17 00:49:51 +08:00
75a031af4a expression: check NotNullFlag of columns when simplifying binary operations (#24049) 2021-04-15 23:03:53 +08:00
cf813dc63b *: protect read only noop via tidb_enable_noop_functions (#23818) 2021-04-15 17:07:54 +08:00
73dea07965 executor: fix wrong convert from bit to string when do projection (#23960) 2021-04-15 10:43:51 +08:00
4072172c05 *: add security enhanced mode part 1 (#23978) 2021-04-15 09:51:51 +08:00
07d2b840d4 expression: don't propagateColumnEQ joinCondition when nullSensitive (#23989) 2021-04-14 17:37:52 +08:00
1ec1a68135 expression: Fix incorrect pushdown function list. (#23982) 2021-04-14 16:29:53 +08:00
045c6927ca planner: remove useless cast function in AggToProj (#23981) 2021-04-14 12:01:51 +08:00
7cf12a68ac *: add test for modifying default length of cast as decimal (#23680) 2021-04-07 13:24:31 +08:00
cc0eb408f8 ddl: fix update can see columns not public (#22307) 2021-04-07 13:00:32 +08:00
7229416bae functions: fix some string function has wrong collation and flag (#23835) 2021-04-07 12:42:32 +08:00