Commit Graph

1567 Commits

Author SHA1 Message Date
68e32bb44e planner: fix wrong plan caused by shallow copy schema columns (#27798) 2021-09-06 17:54:59 +08:00
d6ce2ae296 planner: update the error message when the partition-type is not supported (#27732) 2021-09-06 15:20:58 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
376e85b2ef *: Support SHOW PLACEMENT for placement policies (#27531) 2021-08-31 17:38:13 +08:00
8fd619359e *: Support PLACEMENT_ADMIN dynamic priv (#27600) 2021-08-31 17:08:13 +08:00
f50dd1f24c expression: Push down group concat to TiFlash (#24778) 2021-08-30 15:44:12 +08:00
8dcebd1239 planner, expression: avoid exprs with side effects in column pruning and agg pushdown (#27370) 2021-08-27 16:46:05 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
26653ec3e1 planner: enhance the extract table from update/insert/delete stmt in binding sql check (#27519) 2021-08-26 13:00:04 +08:00
fbc5f94f8b privilege: add LOCK TABLES privilege on db level (#27489) 2021-08-26 10:08:04 +08:00
9e248d9420 planner: correctly set StatsVersion of tablePlan in copTask (#27161) 2021-08-25 18:06:04 +08:00
d5baa5dadf planner: fix expression rewrite makes between expr infers wrong collation. (#27254) 2021-08-24 18:24:04 +08:00
6849e5d56d planner/core: migrate leak tests to goleak (#27433) 2021-08-24 16:02:04 +08:00
79aab25fc2 expression: forbidden bind sql when subquery or union exists (#27347) 2021-08-21 12:12:02 +08:00
2a8612be59 *: SHOW CREATE VIEW/SEQUENCE should ignore local temporary table with the same name (#27344) 2021-08-20 20:24:02 +08:00
4fdb614a15 core_test: add cases that local temporary table works well for cte (#27174) 2021-08-20 17:16:02 +08:00
086a63f471 planner: fix tablesample 'order by' clause from partitioned table (#27383) 2021-08-20 11:54:01 +08:00
eab35684c0 planner: query should report error when timestamp overflow (#27304) 2021-08-19 12:12:00 +08:00
b301e1a863 planner: fix some unstable prepare-cache test cases (#27335) 2021-08-18 19:22:00 +08:00
f7fdffc0b3 planner: adjust the schema when using 'explain for' for verbose format (#26949) 2021-08-18 18:08:01 +08:00
c5689a1d3f planner: fix row count estimation for partially pushed down selections (#25715) 2021-08-18 14:17:59 +08:00
165e365e64 session,server: forbid stale read in local temporary tables (#27270) 2021-08-18 12:14:01 +08:00
84a8b0f6ee planner: don't extract hash keys from index join's OtherConds if inl_merge_join hint exists (#24994) 2021-08-18 11:28:00 +08:00
1f8f3cc63f planner: don't push down topn to nil table plan side (#25214) 2021-08-18 10:33:59 +08:00
d4ec0233c8 ddl: fix DROP [GLOBAL] TEMPORARY TABLE IF EXISTS returns error when table not exist (#27287) 2021-08-17 21:53:59 +08:00
09e3090ba9 go.mod: update parser to fix the parse error for subquery (#25647) 2021-08-17 21:06:00 +08:00
ead31402bc *: resolve select fields properly for coalesced columns of natural join (#25094) 2021-08-17 16:18:00 +08:00
b7860acc9f planner: avoid unnecessary cartesian product for IN expressions on multi-columns (#24793) 2021-08-17 15:46:00 +08:00
d8c9c59364 planner: generate tableDual when partition pruning failed (#26894) 2021-08-17 15:11:59 +08:00
4d5350c718 planner: fix the problem of using enum like 'x%' to build the wrong range (#27267) 2021-08-17 12:37:59 +08:00
1c6c548334 planner: add missing column for Apply convert to Join (#27246) 2021-08-17 11:49:59 +08:00
eb418f3b5a bindinfo: fix SPM doesn't work for CTE (#25583) 2021-08-16 20:47:59 +08:00
09ebd0d703 planner: fix wrong selection push down when having above agg (#27021) 2021-08-16 20:29: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
d128bc1099 planner: fix error when window function is used in view definition (#25930) 2021-08-16 17:22:00 +08:00
cd5499e994 planner: Fix the problem that PlanBuilder.buildWindowFunctions may change sub operator's schema. (#27176) 2021-08-13 16: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
0e48cb22a9 planner: prune hash partition should consider unsigned flag (#27098) 2021-08-12 19:59:16 +08:00
d7f17a0040 privilege: Add REFERENCES privilege on db/schema and table level. (#27121) 2021-08-12 16:53:16 +08:00
542cce59be planner: add one more test case for list partition (#27107) 2021-08-11 20:55:15 +08:00
0b6b13500d planner: add test for heuristic index selection (#26917) 2021-08-11 20:37:16 +08:00
d4208b5674 planner: fix wrong type when unsigned int value union int value (#26545) 2021-08-11 19:17:15 +08:00
533ec70f3a executor: Add support for SHOW PLACEMENT LABELS statement (#27077) 2021-08-11 13:39:15 +08:00
5a6c93ff5c planner: add more test cases for list column partition (#27081) 2021-08-11 10:47:15 +08:00
deb6dadc6c planner: encode min/max varchar correctly when pruning list-column partitions (#27052) 2021-08-10 16:17:15 +08:00
6f8a760511 planner: handle over-flow errors correctly when pruning list partition (#27032) 2021-08-10 11:47:15 +08:00
33379b964a planner: handle over-flow errors correctly when pruning list-column partitions (#27025) 2021-08-09 17:55:14 +08:00
8a67e535a9 planner: add more test cases for list partition (#27023) 2021-08-09 16:29:14 +08:00
6a78ca0f08 *: reduce ResetContextOfStmt() object allocation (#26241) 2021-08-09 12:29:14 +08:00
312ec6cf47 planner: output skyline pruning information when executing EXPLAIN (#26748) 2021-08-06 19:57:14 +08:00