Commit Graph

166 Commits

Author SHA1 Message Date
d3483026ed planner: mark the both side operand of NAAJ & refuse partial column substitute in projection elimination of Apply de-correlation (#37117)
close pingcap/tidb#37032
2022-08-24 18:02:21 +08:00
d6ebc600f8 expression: make collation work with json type (#37211)
close pingcap/tidb#31640
2022-08-19 11:20:52 +08:00
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
1f6f7da778 planner: fix Merge hint for view (#36678)
close pingcap/tidb#36666
2022-08-01 12:42:05 +08:00
e39ef4cae8 executor: prevent sending cop request for show columns (#36613)
close pingcap/tidb#36426, ref pingcap/tidb#36496
2022-07-27 20:31:11 +08:00
beee5f314c *: fix revive in the planner (#36249) 2022-07-27 11:39:11 +08:00
0331f9a827 planner: add a dedicated source file for plan cache (#36577)
close pingcap/tidb#36537
2022-07-26 20:45:10 +08:00
b4cd14d713 planner: use SEMI_JOIN_REWRITE hint to rewrite the semi join (#35325)
close pingcap/tidb#35323
2022-07-14 15:49:05 +08:00
a0e4ba9dc6 planner: Reduce verbosity of logging unknown system variables (#36013)
close pingcap/tidb#36011
2022-07-13 15:57:06 +08:00
11f06e00ce planner: disable collate clause support for enum or set column (#35684)
close pingcap/tidb#31637
2022-06-24 20:32:37 +08:00
5c9ad77ae1 *: add support for disabling noop variables (#35496)
close pingcap/tidb#8895
2022-06-21 14:10:36 +08:00
49603af359 expression: avoid padding 0 when implicitly cast to binary (#35053)
close pingcap/tidb#34823
2022-06-21 12:22:36 +08:00
5b804ccfdf planner: firstrow agg func should infer return type as nullable for EQAll special case (#34585)
close pingcap/tidb#34584
2022-05-30 17:20:27 +08:00
e2557396f6 planner: support leading hint in join reorder optimization (#34570)
ref pingcap/tidb#29932
2022-05-17 10:26:37 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
2ae71323cf sessionctx: make builtinFunctionUsage thread safe (#33032)
close pingcap/tidb#33027
2022-03-16 10:27:52 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
b4c4b83e75 planner/core: fix nil pointer dereference tidb_decode_key() (#33018)
close pingcap/tidb#33015
2022-03-13 02:33:50 +08:00
20bd94918b planner: fix the usage of ParamMarker for PointGet (#32235)
ref pingcap/tidb#31056
2022-02-22 12:55:42 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
50704075af *: insert set default timestamp failed (#29966)
close pingcap/tidb#29926
2022-01-18 03:43:44 +08:00
706abd66ae expression: fix BuildCastCollationFunction (#31553)
close pingcap/tidb#31551
2022-01-11 21:59:43 +08:00
5af7685c20 planner: don't handle collation in in expression if it contains a row function. (#31274)
close pingcap/tidb#31273, close pingcap/tidb#31300
2022-01-06 18:42:37 +08:00
416617eb9c planner: fix wrong collation when rewrite in condition (#30492)
close pingcap/tidb#30486
2021-12-21 20:47:46 +08:00
b27a2d74b2 planner: update PlanBuilder.windowSpecs when building subquery (#30878)
close pingcap/tidb#30804
2021-12-20 17:49:46 +08:00
ae5638cdcc planner: refine collation handling for between (#30793) 2021-12-16 17:56:36 +08:00
86ed4c415d planner: fix wrong subquery's coercibility (#30750) 2021-12-16 13:42:35 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +08:00
e520e46614 planner/core, session: fix error message of wrong variable scope (#30510) 2021-12-08 14:53:57 +08:00
8dc59e684a planner: make clear for MaybeOverOptimized4PlanCache (#29782) 2021-11-25 16:42:29 +08:00
4d16aabf90 planner: change redundantSchema to fullSchema to correctly handle natural and "using" joins (#29599) 2021-11-22 14:53:49 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
4df2c21a94 *: TIDB_DECODE_KEY(): Decode keys which only have a TableID (#29522) 2021-11-08 00:19:04 +08:00
83e559db0a planner: allow refineArgs for plan cache in some situations (#28944) 2021-10-29 18:09:49 +08:00
676683383b *: add support for removed sysvars (#28931) 2021-10-22 11:32:46 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
32f96fef77 expression: make infer collation support the expressions with different charset (#27863) 2021-10-11 14:51:25 +08:00
13be486682 planner: rename some variables for easy understanding (#28226) 2021-09-26 13:20:46 +08:00
b339ca29c8 expression: aggregate the collation only if the function is needed. (#27789) 2021-09-22 13:40:45 +08:00
7abf5ae081 expression: fold const after rewrite between (#27834) 2021-09-06 19:48:57 +08:00
d5baa5dadf planner: fix expression rewrite makes between expr infers wrong collation. (#27254) 2021-08-24 18:24:04 +08:00
b7860acc9f planner: avoid unnecessary cartesian product for IN expressions on multi-columns (#24793) 2021-08-17 15:46:00 +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
cb400040a2 planner: return error when the item of ORDER BY is hidden column (#26473) 2021-07-23 11:00:14 +08:00
126c9b407b telemetry: Add telemetry information about builtin functions usage (#26234) 2021-07-21 18:01:36 +08:00
dbe1f176a4 Revert: "*: keep the precision of intermediate decimal result as accurate as possible" (#26443) 2021-07-21 17:51:35 +08:00