Commit Graph

710 Commits

Author SHA1 Message Date
bc267f5856 expression: support push down tikv supported functions (#32193)
ref pingcap/tidb#31846
2022-02-11 12:51:36 +08:00
92f5a6340c expression: from_unixtime accept 64-bit integers (#22616)
close pingcap/tidb#22206
2022-02-10 14:57:35 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
f2dba0e14e *: migrate some collation tests to explain test (#31993)
ref pingcap/tidb#31625
2022-01-26 19:32:46 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
7e23a7d9b3 expression: fix invalid memory when use char_length in unistore (#31605)
close pingcap/tidb#31603
2022-01-12 18:49:42 +08:00
a8223c0bf1 expression: treat AllowedPacketOverflowed as err when enable strict sql mode and in insertStmt|updateStmt|deleteStmt and without ignore (#29962)
close pingcap/tidb#29708
2022-01-11 19:17:42 +08:00
7f85091696 expression: pushdown substring/char_length to tikv (#30191)
close pingcap/tidb#31125
2021-12-31 00:07:50 +08:00
a8ce4af9f8 expression: Fix incorrect behavior of greatest/least when mixed temporal type with others (#31037)
close pingcap/tidb#30264
2021-12-30 11:33:50 +08:00
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
3fe92634a5 expression: fix enum type join binary get wrong result (#30445) 2021-12-15 16:52:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +08:00
ed384b2a09 expression: migrate test-infra to testify for integration_test.go (#30548) 2021-12-10 11:59:57 +08:00
8bc22b1aa1 expression,types: Adjusts UNIX_TIMESTAMP() for non-existing DST values (#28739) (#30405) 2021-12-09 16:57:58 +08:00
05f7c6dc5b parser, expression: follow mysql, increase interval precedence (#30528) 2021-12-09 14:43:58 +08:00
e7aeae7eda expression: migrate test-infra to testify for constant_propagation_test.go (#30430) 2021-12-07 16:29:55 +08:00
6eb14e0e8d expression: make some unstable test serial (#30323) 2021-12-07 16:05:55 +08:00
cb88a4c51f executor: fix pipelined window invalid memory address (#30418) 2021-12-07 11:11:55 +08:00
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