Commit Graph

690 Commits

Author SHA1 Message Date
004382d020 expression: don't append null when param for char() is null (#30236) 2021-12-02 17:37:54 +08:00
4947cf1f59 expression: fix wrong result of greatest/least(mixed unsigned/signed int) (#30121) 2021-12-02 13:11:53 +08:00
eb7672fc48 *: replace compareDatum by compare and ignore warnings is collate is empty (#30105) 2021-11-29 17:53:53 +08:00
3dc09f8ba6 expression: add ut config (#30156) 2021-11-26 19:51:51 +08:00
3d267514d5 expression: cast charset according to the function's resulting charset (#29905) 2021-11-24 17:07:50 +08:00
45836a6afe expression, sessionctx: support rand_seed1 and rand_seed2 sysvar (#29936) 2021-11-24 13:35:50 +08:00
8858592f7e expression: fix wrong flen for CastAsString funtion (#29563) 2021-11-23 17:03:51 +08:00
d711f18e0d types/datum.go: casting zero to enum should not change value (#29759) 2021-11-22 18:29:49 +08:00
a62c37851d *: disable prepare cache when encounter cache table (#29702) 2021-11-18 14:05:47 +08:00
fef05d77d2 expression: fix wrong flen when cast decimal to string (#29687) 2021-11-18 10:13:47 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
62e96720b6 variable: add support for timestamp (#29447) 2021-11-10 00:49:05 +08:00
4df2c21a94 *: TIDB_DECODE_KEY(): Decode keys which only have a TableID (#29522) 2021-11-08 00:19:04 +08:00
4b110036e1 expression: fix wrong result type for greatest/least (#29408) 2021-11-07 11:17:03 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
ae65cae8d0 expression: fix wrong caseWhen function for enum type (#29454) 2021-11-05 15:27:06 +08:00
8ae81b3852 expression: fix different results for greatest when vectorized is off (#29438) 2021-11-04 19:17:02 +08:00
a95927f50a expression: Fix wrong result of microsecond function in vectorized (#29310) 2021-11-03 11:37:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
a18977a93b expression: fix a bug caused by cast function signature wrong in aggregation push down (#28805) 2021-11-01 10:46:51 +08:00
83e559db0a planner: allow refineArgs for plan cache in some situations (#28944) 2021-10-29 18:09:49 +08:00
acb3a89634 expression, parser: fix the result of trim3Args (#28936) 2021-10-19 21:00:43 +08:00
db056cfe0c expression: Fix wrong result of hour function in vectorized expression (#28857) 2021-10-15 16:35:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
af09803e07 test: remove misuse of errors.ErrorStack in tests (#28661) 2021-10-09 14:17:24 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
b50474c4e9 variable: add support for identity (#28449) 2021-09-29 01:14:47 +08:00
b339ca29c8 expression: aggregate the collation only if the function is needed. (#27789) 2021-09-22 13:40:45 +08:00
4107115026 variable: add support for last_insert_id (#28072) 2021-09-21 01:10:45 +08:00
651c47dbb8 expression: fix substring_index() gets wrong result for uint64 index. (#28098) 2021-09-18 13:22:43 +08:00
39a1b43666 *: fix some problems related to notNullFlag (#27697) 2021-09-09 11:04:38 +08:00
e154b31e84 expression: fix enum cannot use index to update (#27752) 2021-09-02 20:42:14 +08:00
054ebd80bc expression: fold constant should keeps the original charset and collation (#27533) 2021-09-01 13:04:13 +08:00
fabfc22f88 util: fix wrong convert from string to enum (#27629) 2021-08-27 12:22:05 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
d5baa5dadf planner: fix expression rewrite makes between expr infers wrong collation. (#27254) 2021-08-24 18:24:04 +08:00
98275ca97e util/codec: check length before slicing (#27442) 2021-08-20 23:36:01 +08:00
949dafb35c expression: Fix wrong way to check for overflow (#27122) 2021-08-20 13:12:01 +08:00
a84ceb801f expression: fix extract bug when argument is a negative duration (#27318) 2021-08-19 13:28:00 +08:00
ead31402bc *: resolve select fields properly for coalesced columns of natural join (#25094) 2021-08-17 16:18:00 +08:00
1c6c548334 planner: add missing column for Apply convert to Join (#27246) 2021-08-17 11:49:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
73cadf060d ddl: improve MySQL compatibility on time-to-year conversion (#26884) 2021-08-13 22:49:58 +08:00
08995d915d expression: make count distinct multi column aware of new collation (#27111) 2021-08-13 19:57:58 +08:00
f7917916ed expression: do not derive filters containing null sensitive functions from outer join (#27067) 2021-08-13 14:49:22 +08:00
3ac7914b7e expression: make locate function consider collation (#27079) 2021-08-11 20:29:16 +08:00
d4208b5674 planner: fix wrong type when unsigned int value union int value (#26545) 2021-08-11 19:17:15 +08:00
f8564e3177 *: add infoschema.referential_constraints (#26450) 2021-08-10 12:17:15 +08:00
7afab6eafb planner: add missing distinct flag for Apply convert to join (#26959) 2021-08-06 18:17:13 +08:00
853c41e3fb executor: add builtin aggregate function json_arrayagg (#19957) 2021-08-04 16:15:07 +08:00