Commit Graph

2622 Commits

Author SHA1 Message Date
7f85091696 expression: pushdown substring/char_length to tikv (#30191)
close pingcap/tidb#31125
2021-12-31 00:07:50 +08:00
9b9a300485 expression: support lpad/rpad pushdown to tiflash (#31099)
* expression: support lpad/rpad pushdown to tiflash

Signed-off-by: guo-shaoge <shaoge1994@163.com>
2021-12-30 23:33:34 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35: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
fcfd8387bf expression: enable strcmp for tiflash (#30983) 2021-12-29 17:19:50 +08:00
61d13b561c encoding: skip utf8 charset validation in some cases (#31061)
close pingcap/tidb#31014
2021-12-28 17:51:49 +08:00
22cad97eb0 expression: support quarter pushdown to tiflash (#30704) 2021-12-28 16:03:49 +08:00
76aae0d5c5 planner: change predicateColumnCollector to columnStatsUsageCollector and collect histogram-needed columns (#30671) 2021-12-25 18:21:48 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
d543b60464 parser: add IsValid() to Encoding to speed up string validation for UTF-8 (#30937)
close pingcap/tidb#30936
2021-12-22 18:19:48 +08:00
416617eb9c planner: fix wrong collation when rewrite in condition (#30492)
close pingcap/tidb#30486
2021-12-21 20:47:46 +08:00
55a38cb162 expression, cmd: let crc32() support gbk (#30900)
close pingcap/tidb#30898
2021-12-21 17:27:47 +08:00
f1e587704c expression: fix wrong retType for reverse function (#30829)
close pingcap/tidb#30809
2021-12-21 12:19:46 +08:00
87ab28ebb2 expression: wrap to_binary and from_binary for cast function's argument (#30706) 2021-12-20 20:11:47 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
e3c56b75ea executor: buildWindow cannot call typeInfer twice (#30773)
close pingcap/tidb#30402
2021-12-20 11:11:46 +08:00
24d970fc46 executor: improve SET sysvar=DEFAULT handling (#29680)
close pingcap/tidb#29670
2021-12-20 07:57:45 +08:00
8e11e0367f *: fix the flen type datetime for union/case-when/control-funcs (#30588) 2021-12-17 13:14:35 +08:00
1e5e86920d test: merge serial tests in bindinfo, expression, parser and statistics (#30749) 2021-12-16 18:40:37 +08:00
ae5638cdcc planner: refine collation handling for between (#30793) 2021-12-16 17:56:36 +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
e8577c7fa5 expression: make cast return error if cast binary literal to another character set (#30537) 2021-12-13 18:58:36 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +08:00
512373e673 planner: implement collecting predicate columns from logical plan (#29878) 2021-12-10 18:13:57 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
03b6a8e550 expression: clone repertoire when clone the scalar function (#30602) 2021-12-10 14:21:57 +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
d9ef107d39 *: replace compareDatum by compare, PR 11 (#30465) 2021-12-09 12:47:56 +08:00
e15e457f3e expression: change the log level of an confusing log from warn to debug (#30484) 2021-12-08 19:07:57 +08:00
2a1ea89fd4 expression: fix data race in the collationInfo (#30490) 2021-12-08 14:43:57 +08:00
daf8f3ef8e expression: fix data race in builtin_other_vec_generated_test.go (#30503) 2021-12-08 13:53:56 +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
376d5428cc *: Fix use of user identity in SHOW GRANTS + error messages (#30294) 2021-12-07 14:59:55 +08:00
cb88a4c51f executor: fix pipelined window invalid memory address (#30418) 2021-12-07 11:11:55 +08:00
889f001aef expression: migrate test-infra to testify for constant_fold_test.go (#30424) 2021-12-07 09:51:55 +08:00
3337405dd0 expression, parser: add built-in func is_uuid (#30318) 2021-12-07 02:47:55 +08:00
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
9c62e96633 expression: migrate test-infra to testify for flag_simplify_test.go (#30407) 2021-12-06 12:17:55 +08:00
28446605c2 expression: fix tidb can't alter table from other-type with null value to timestamp with NOT NULL attribute (#29664) 2021-12-03 15:57:54 +08:00
9aa756336e executor: avoid sum from avg overflow (#30010) 2021-12-03 11:09:55 +08:00
6475e8949c *: add warn log for stale read (#30340) 2021-12-02 17:59:54 +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
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00