Commit Graph

2144 Commits

Author SHA1 Message Date
2effb7dd19 planner: make index-hash-join and index-merge-join consider the collation in the right way (#21221)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-23 20:37:43 +08:00
e6d7e7b89e planner: make index-hash-join and index-merge-join consider collation (#21201)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-23 17:34:53 +08:00
93c3e6becd *: fix default decimal precision (#21162) 2020-11-21 21:07:54 +08:00
1d668fa930 expression: keep the original data type when doing date arithmetic operations (#20940) 2020-11-20 17:29:11 +08:00
49a1527893 expression: adjust int constant when compare with year type (#21099) 2020-11-19 19:04:53 +08:00
42d0208032 expression: fix builtin IF truncation of type len (#20743) 2020-11-19 16:47:33 +08:00
de75e604ff *: differentiate types for user variables (#18973)
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-11-17 17:03:41 +08:00
7c88ca7974 ddl, session: set charset and coordinate collation (#21034) 2020-11-16 19:03:26 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
e90aac7723 plannr: build empty range for overflow predicate (#21042) 2020-11-16 11:42:27 +08:00
b6b4c67640 planner: the precision of a decimal type should not be more than MaxDecimalWidth (#21046) 2020-11-13 20:11:43 +08:00
d084651faf planner, expression: fix a bug causes schema change after DML (#21027)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-13 19:47:43 +08:00
6e3d2ecb48 expression: avoid unnecessary warnings/errors when folding constants in shortcut-able expressions (#19797) 2020-11-13 15:42:19 +08:00
99bdecc966 ddl: fix float precision larger than 53 (#20458) 2020-11-13 14:08:36 +08:00
2a185ec4cf executor, expression: Fixed the warning messages when calling date_add function failed (#20418) 2020-11-13 12:04:34 +08:00
3ef3e54b5e planner: don't push down null sensitive join conditions (#19620) 2020-11-12 17:16:31 +08:00
ef57bdbbb0 *: fix somes bugs related to the clustered index and the new collation (#20934) 2020-11-12 15:18:15 +08:00
269494e3de *: Move sysvar validation to struct (3 of 3) (#20521) 2020-11-12 13:22:42 +08:00
dy
a3facd0f71 expression, planner: fix decimal results for aggregate functions (#20017) 2020-11-11 14:46:22 +08:00
a338e35932 expression: fix wrong inferred type for sum and avg (#20926) 2020-11-11 14:10:34 +08:00
8d35f17c17 Update the errors dependence to the latest version (#20917) 2020-11-10 09:50:39 +08:00
26d42c9e23 planner: add partition pruner for list (columns) partition (#20740) 2020-11-09 13:09:49 +08:00
c243a0b8ce expression: fix ADD_DATE daylight saving time change (#20871) 2020-11-06 11:40:01 +08:00
aa2b83210d planner: make pushdown limit use its child schema (#20807) 2020-11-04 15:58:34 +08:00
a53c1d05b1 expression: Support some cast functions push down to TiFlash (#20787) 2020-11-04 15:21:01 +08:00
42590965ed *: refactor CompilePattern and DoMatch used by like (#20610) 2020-11-04 13:25:52 +08:00
f1c464a86a collation: add utf8mb4_zh_pinyin_tidb_as_cs collation interface (#20504) 2020-11-03 11:35:39 +08:00
e102c12479 planner, config: Enable plan cache by default (#20416) 2020-10-29 23:00:26 +08:00
ccd48eeb4d expression: make str_to_date() more compatible with MySQL (#20298) 2020-10-28 19:06:25 +08:00
bf043c2d1f executor, expression: Fixed the warning messages when calling str_to_date function failed (#20415) 2020-10-28 14:04:01 +08:00
fd84a91895 ddl, tikv: add delay during AddIndex DDL and remove schema check for async commit (#20550) 2020-10-28 11:48:34 +08:00
e3c3668a27 *: fix not precedence in generated column (#20612) 2020-10-27 17:59:35 +08:00
23d8b30470 expression, executor: add iso 8601 and timezone support for temporal string literal (#20534) 2020-10-27 16:24:59 +08:00
3db90e4256 types: fix incompatible result of DATE_ADD() (#19880) 2020-10-26 11:10:14 +08:00
66b241e440 planner: correlated column with unique constraint can help to eliminate MaxOneRow (#20259)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-10-22 17:02:28 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
106b04ddab *: Fix sysvars to native type in @@ context (#20394) 2020-10-19 14:13:43 +08:00
743a910cd9 planner: fix the panic when the argument of agg func is scalarfunction in apply (#20485) 2020-10-16 14:58:16 +08:00
da70410fd3 ddl: Supports transitions between the same type (String types) (#20032) 2020-10-16 11:55:43 +08:00
8ed9a6ff6d expression: fix TIMESTAMP func get wrong result with decimal (#15185) (#20088) 2020-10-15 15:46:03 +08:00
d726ba647e expression: support decode more types through tidb_decode_key() (#20382) 2020-10-15 15:12:28 +08:00
3d4016fe46 *: change file mode to 0644 (#20443)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-10-14 16:35:31 +08:00
a8c5532df0 expression: fix schema may change when execute DML statement (#20331) 2020-10-12 12:09:12 +08:00
462a53f79a expression: utilize the flag of column arguments to simplify expressions (#20149) 2020-10-09 14:43:11 +08:00
a7f9d7a67a expression: fix data too long when convert to bit returns null value (#20241) 2020-10-09 14:20:10 +08:00
2f8092ea84 expression: fix a bug that the coercibilities of enum and set are wrong (#20274)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-10-09 14:01:39 +08:00
80f3c9e836 expression: unset binary flag for *_bin collation column (#20269) 2020-10-04 11:01:10 +08:00
1d34c333f4 expression: avoid constant propagate for the hybrid types (#20258) 2020-09-29 16:11:32 +08:00
5eaaa5c649 expression: fix a bug that from_unixtime + union all returns truncated result (#20225)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-27 12:39:38 +08:00
4ff2f926e2 executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221) 2020-09-27 11:31:16 +08:00