34c3d4ccc6
planner,executor,parser: support the prepared plan cache for insert/delete/update statements ( #8107 )
2018-11-05 14:24:48 +08:00
6efbd17b03
expression: fix "values" function in non-insert statement ( #8019 )
2018-11-05 11:51:11 +08:00
b9aa731ba4
ddl: refine error msg when alter table ( #8114 )
2018-11-05 11:15:33 +08:00
fffb49bce6
*: modify tests to work with only-full-group-by on ( #8163 )
2018-11-05 10:41:48 +08:00
47ac8aef19
domain: avoid an annoying log message ( #8159 )
2018-11-03 12:08:44 +08:00
761365b31c
*: avoid using columnEvaluator for the Projectin build by buildProjtion4Union ( #8142 )
2018-11-02 17:28:09 +08:00
dd65caac31
planner: fix issue#8135 ( #8143 )
2018-11-02 14:31:11 +08:00
ffb70c4a27
remove dep files ( #8147 )
2018-11-02 14:23:35 +08:00
31f5abdad8
apply unit:day special logic on unit:hour for INTERVAL segment ( #8146 )
2018-11-02 14:14:57 +08:00
8ed433036b
planner: refine PhysicalProjection.ResolveIndices during neighbouring Proj ( #8073 )
2018-11-02 13:42:12 +08:00
f15ffd5255
docs/design: add proposal for window functions ( #8117 )
2018-11-02 13:29:27 +08:00
239899ca97
planner/core: introduce join reorder by dp ( #8025 )
...
This pr introduces the dp by subset algorithm to TiDB, though not involved in TiDB's plan optimization currently.
2018-11-02 13:08:12 +08:00
60d05bd759
planner: eliminate ifnull in expression rewriting process ( #7996 )
2018-11-02 12:50:27 +08:00
5374ff8935
expression,planner: support non-deterministic functions (e.g., now) in the plan cache ( #8105 )
2018-11-01 23:53:32 +08:00
b7f431e5c3
*: migrate dependency management to Go1.11 module ( #8054 )
2018-11-01 20:54:22 +08:00
e195df2e5d
stats: fix selectivity estimation for primary key ( #8134 )
2018-11-01 20:38:08 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
2ccb08f7b3
proposal: introduce join reorder by dp subset ( #8059 )
2018-11-01 14:38:54 +08:00
59c4db71a0
plan: try point get when plan cache is enabled ( #8108 )
2018-11-01 00:57:39 +08:00
8b66634a57
docs/design: add a document about the online DDL architecture ( #7845 )
2018-10-31 19:28:23 +08:00
dc8b94b51f
ddl: add check when add foreign key. ( #8050 )
2018-10-31 19:11:05 +08:00
9ec7515743
*: Add few error checks in tests, clean error messages and fix a misspell ( #8101 )
2018-10-31 18:50:43 +08:00
c23a30c1bb
planner/core: fix index resolution on PhysicalIndexReader ( #8118 )
2018-10-31 16:13:18 +08:00
a7532f12bb
table: add more error checking in tests ( #8106 )
2018-10-30 22:29:21 +08:00
696ef7bae2
plan: convert in subquery to agg and inner join ( #7531 )
2018-10-30 19:19:32 +08:00
a37417e72c
executor: fix show columns panic ( #8082 )
2018-10-30 13:29:11 +08:00
2a3c4da0b7
sessionctx, executor: add max_allowed_packet verification ( #8090 )
2018-10-29 22:44:20 +08:00
a6123eaf62
*: Change privilege to use Auth* identity ( #7954 )
2018-10-29 20:01:31 +08:00
65628a8534
ticlient: check nil when Backoff set vars ( #8089 )
2018-10-29 19:39:25 +08:00
33a0b0c900
planner: fix a sporadic panic due to the PR #7684 when using the prepared plan cache ( #7956 )
2018-10-29 19:05:04 +08:00
5d1e5f1485
infoschema: fix pseudo data for profiling table ( #8092 )
2018-10-29 17:37:03 +08:00
3febc22811
expression: fix cast json to decimal bug. ( #8030 )
2018-10-29 17:02:32 +08:00
736c3130e6
executor: fix update float panic ( #8045 )
2018-10-29 16:38:56 +08:00
d07e5fb26a
Bump Go versions and use 1.n.x to get latest minor versions ( #8080 )
2018-10-29 11:53:25 +08:00
508f5dd626
binlog: use pumps client to write binlog ( #8070 )
2018-10-27 17:52:01 +08:00
5831de291d
*: enable range typed table partition ( #8011 )
2018-10-26 20:04:07 +08:00
4cfa77454e
update pkg/errors && add pump client in vendor ( #8051 )
2018-10-26 15:51:15 +08:00
3024a5af73
plan: disable plan cache for query containing SubqueryExpr ( #8064 )
2018-10-26 11:37:23 +08:00
f370da0b43
planner: export init() to Init() ( #8060 )
2018-10-26 10:44:30 +08:00
a4cff40a18
support _tidb_rowid for table scan range ( #8047 )
2018-10-25 20:35:45 +08:00
1f57184f93
proposal: maintaining histograms in plan. ( #7605 )
2018-10-25 20:01:43 +08:00
82c9f2c8a8
ddl, domain: make schema correct after canceling jobs ( #7997 )
2018-10-25 18:30:58 +08:00
38274c39c3
*: fix the issue of executing DDL after executing SQL failure in txn ( #8044 )
...
* ddl, executor: fix the issue of executing DDL after executing SQL failure in txn
2018-10-25 15:52:13 +08:00
b55663882b
planner: fix a panic of a cached prepared statement with IndexScan ( #8017 )
2018-10-25 13:53:58 +08:00
d606b0d55f
executor: fix wrong result when index join on union scan. ( #8031 )
...
Do not modify Plan of dataReaderBuilder directly, because it would
impact next batch of outer rows, as well as other concurrent inner
workers. Instead, build a local child builder to store the child plan.
2018-10-25 11:38:35 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
d65ce8655c
stats: fix estimation for out of range point queries ( #8015 )
2018-10-24 16:20:22 +08:00
19e78d025e
stats: update error rate for partition table ( #8022 )
2018-10-24 15:57:03 +08:00
cc1da16878
stats: support show stats for partition table ( #8023 )
2018-10-24 15:49:01 +08:00
b87b5f0898
expression: refine built-in func truncate to support uint arg ( #8000 )
2018-10-24 15:42:32 +08:00