Commit Graph

655 Commits

Author SHA1 Message Date
8125b0a3f3 *: Introduce TemporaryTableDDL to provide unified APIs for temporary table ddl operations (#27776) 2021-09-06 11:24:57 +08:00
777b40cb8c *: refactor Allocator.Rebase() interface (#27649) 2021-08-30 13:10:11 +08:00
b1f3974f10 *: refactor Allocator.Alloc() interface for separating auto IDs (#27616) 2021-08-28 15:32:05 +08:00
462c9dc5ca *: Add temp_table_size support for local temporary table (#27205) 2021-08-16 22:19: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
0709307edb table: migrate test-infra to testify (#27086) 2021-08-16 18:23:59 +08:00
deb6dadc6c planner: encode min/max varchar correctly when pruning list-column partitions (#27052) 2021-08-10 16:17:15 +08:00
bb32631b6a Revert "ddl: fix create partition table error under NO_UNSIGNED_SUBTRACTION" (#26935) 2021-08-10 12:09:15 +08:00
3cda7d0a72 *: insert of invalid timestamp succeeded (#26584) 2021-08-05 18:03:12 +08:00
6a1e5215df executor: Add insert/replace ignore/on duplicate key support for local temporary table (#26636) 2021-08-04 14:19:07 +08:00
31403ad0a1 executor: fix unexpected behavior when casting invalid string to date (#26784) 2021-08-04 10:05:06 +08:00
12c606f4d4 *: improve 'insert into select' performance by optimize utf8 charset check (#26432) 2021-08-03 09:49:06 +08:00
06a0ad373c executor: avoid unnecessary string EqualFold() comparisons (#25822) 2021-07-23 14:46:15 +08:00
c0aaff5aa5 planner: fix the unstable unit test TestTableFromMeta (#26463) 2021-07-22 17:46:14 +08:00
39a4827fab tables: avoid delete the primary index when deleting clustered table row (#26459) 2021-07-22 15:12:13 +08:00
6329c86533 ddl: fix cast date as timestamp will write invalid value (#26362) 2021-07-20 23:19:34 +08:00
d05b6f4c71 dml: fix index column offset beyond the range (#25699) 2021-07-15 17:29:33 +08:00
8f8dcf3a06 *: temporarily skip some unstable test cases (#26149) 2021-07-12 20:21:32 +08:00
94194679a4 *: finish insert/point_get for local temporary table (#26053) 2021-07-09 18:13:30 +08:00
5e75a1c7ee *: Rename variable GlobalTemporaryTables in TxnCtx to TemporaryTables (#26028) 2021-07-08 13:01:29 +08:00
3132b59402 table: improve error message for incorrect utf8 value (#25087) 2021-06-21 15:48:53 +08:00
9c947dffe4 ddl: fix create partition table error under NO_UNSIGNED_SUBTRACTION (#25435) 2021-06-18 11:50:38 +08:00
2653b128ed planner: forbid BatchPointGet on tables partitioned by compound expressions (#25538) 2021-06-18 11:02:38 +08:00
abe6896441 ddl: fix the data and indexes inconsistency during ctc (#25323) 2021-06-10 17:36:30 +08:00
cbb6f4e64c *: add global system variable tmp_table_size (#24827) 2021-06-09 18:48:30 +08:00
95e9ea82ac table: remove reading from non-specificed partitions in IODKU (#24872) 2021-05-26 10:59:34 +08:00
ced56153b8 executor,table: fix 'show create table' for the temporary table (#24857) 2021-05-25 20:33:34 +08:00
d5f01e1477 kv: extract subset of tikv.KeyFlags (#24739) 2021-05-25 12:35:33 +08:00
163eb5f03c planner: Implement PointGet in TryFastPlan for range/list paritition table (#24588)
* implement PointGet in TryFastPlan for range/list partition
2021-05-22 01:23:53 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
f2c2fbda47 binlog: DML on temporary tables do not write binlog (#24570) 2021-05-13 14:13:39 +08:00
771255e010 executor, meta: Allocate auto id for global temporary tables (#24506) 2021-05-12 23:45:40 +08:00
9fe539c5a1 ddl: fix alter int to bit will panic in backfill index (#24263) 2021-05-07 17:48:42 +08:00
6ef4815d28 *: support clustered index table produce binlog (#24135) 2021-05-06 18:59:53 +08:00
af6cece281 *: support read and write operations for the global temporary table (#24196) 2021-04-29 21:49:58 +08:00
5800336b52 executor, table: improve update ignore & Insert on duplicate ignore performance (#24203) 2021-04-25 23:01:55 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
eb526b0c16 *: pre-allocate memory for slices (#24048) 2021-04-16 19:29:51 +08:00
0ca5383c89 table: initialize index.needRestoredData lazily (#24030) 2021-04-14 22:39:09 +08:00
34b78579c7 executor: skip ignore check for not update indexes (#23894) 2021-04-12 21:21:51 +08:00
096281ec2f executor: fix 2nd index dup check after insert ignore on dup update primary (#23814) 2021-04-02 14:05:24 +08:00
e2a2961440 table: fix a bug in TryGetHandleRestoredDataWrapper which may cause panic (#23806) 2021-04-02 00:58:40 +08:00
9dfc786c4c *: fix a bug that wrong index data on prefixed clustered index (#23742) 2021-04-01 10:15:27 +08:00
44f81cb9d9 planner, table: optimize the list column partition pruner for range query (#22294) 2021-03-29 17:25:23 +08:00
f45bd9bd21 kv/union_store:move implementation of unionstore into store/tikv (#23490) 2021-03-26 16:40:29 +08:00
60460be42f *: unify NeedRestoredData and CommonHandleNeedRestoredData (#23266) 2021-03-19 19:51:36 +08:00
fcf60e0a27 planner, table: set PrimaryPrefixColumnIds correctly (#23250) 2021-03-12 21:18:55 +08:00
f8da635f5a *: refactor and fix the usages of DecodeIndexKV for clustered index (#23096) 2021-03-10 16:46:55 +08:00
284da110b2 executor: fix cast function will ignore tht error for point-get key construction (#22869) 2021-03-09 18:14:55 +08:00
b8f6ac0dd3 *: fix wrong replace or insert-on-dup behavior on prefixed clustered index (#23091) 2021-03-09 16:54:55 +08:00