1685a714d4
expression: set correct json storage size ( #37661 )
...
close pingcap/tidb#37307
2022-09-09 16:16:56 +08:00
cdcbfc838a
executor: implement json time/duration ( #37579 )
...
close pingcap/tidb#9988 , close pingcap/tidb#31104
2022-09-08 17:42:55 +08:00
1d482db4dd
*: Support for tidb_sm3_password authentication ( #36193 )
...
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
9036de3394
*: support create table with foreign key and maintain foreign key reference ( #37148 )
...
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
e0b5fa1085
planner: Expression memory trace ( #37624 )
...
ref pingcap/tidb#37632
2022-09-07 10:52:55 +08:00
4d918466ef
planner: support general plan cacheable checker ( #37636 )
2022-09-06 16:20:46 +08:00
70684d39de
*: enable mock session manager and schemaLease for all unit tests ( #37623 )
2022-09-06 14:04:55 +08:00
bf02d2521a
*: upgrade prometheus client ( #37630 )
2022-09-06 10:58:54 +08:00
170dafc7e1
types: merge json and types pkg ( #37578 )
...
close pingcap/tidb#37577 , close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
b2723bf8ff
planner: replace simple LRU with plan cache LRU ( #37423 )
...
ref pingcap/tidb#36598
2022-09-05 13:32:55 +08:00
872898af43
expression: json_merge_xx should check argument type ( #37575 )
...
close pingcap/tidb#37504
2022-09-05 11:46:55 +08:00
016dfd7015
expression: support lead/lag push down to tiflash ( #37366 )
...
close pingcap/tidb#37365
2022-09-05 09:52:55 +08:00
080a784a75
expression: forbid binary string to be json key ( #37541 )
...
close pingcap/tidb#37509
2022-09-02 18:50:25 +08:00
0482b2e83e
expression: fix that the result of expression castRealAsTime is inconsistent with mysql ( #37461 )
...
close pingcap/tidb#37462
2022-09-02 12:20:24 +08:00
6e582640d7
*: upgrade glangci-linter ( #37413 )
2022-09-01 12:14:24 +08:00
294297d0c5
expression: fix flaky test TestNowAndUTCTimestamp ( #37494 )
...
close pingcap/tidb#37437
2022-08-31 17:52:24 +08:00
d46da50ca8
expression: use a relax json comparison cast rule ( #37404 )
...
close pingcap/tidb#37403
2022-08-31 16:24:24 +08:00
636d272871
expression: resize the result for IfXXSig ( #37417 )
...
close pingcap/tidb#37414
2022-08-29 12:18:22 +08:00
f358b6a6db
executor: add JSON opaque value condition to everywhere ( #37390 )
...
close pingcap/tidb#37387
2022-08-26 17:02:21 +08:00
4c8c918c43
executor: add conversion to opaque value for json_objectagg and json_arrayagg ( #37337 )
...
close pingcap/tidb#25053
2022-08-25 17:20:22 +08:00
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
7f4091d993
expression: set json to right type ( #37054 )
...
close pingcap/tidb#37339
2022-08-24 17:18:21 +08:00
fe40d3ce27
expression: add json opaque value ( #37200 )
...
close pingcap/tidb#9996 , close pingcap/tidb#31918
2022-08-23 12:26:20 +08:00
d6ebc600f8
expression: make collation work with json type ( #37211 )
...
close pingcap/tidb#31640
2022-08-19 11:20:52 +08:00
7d401c5072
expression: fix incorrect unit test from #37036 ( #37115 )
...
close pingcap/tidb#37116
2022-08-19 11:00:52 +08:00
a664d28909
expression: implement castTimeAsDuration function pushdown ( #37036 )
...
close pingcap/tidb#37033
2022-08-15 18:30:50 +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
7fbe1d1a57
expression: implement elt function pushdown ( #36735 )
...
close pingcap/tidb#36734
2022-08-10 11:00:48 +08:00
28c934cdae
planner: finish todo in builtin_cast.go#L1945 ( #36921 )
...
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
244b353a11
planner: support session level for the variable tidb_enable_prepared_plan_cache ( #36923 )
...
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
6418350e97
executor,expression: avoid to append nil to warnings ( #36304 )
...
close pingcap/tidb#31569
2022-08-05 17:00:06 +08:00
cb3fdcc847
feat: push down hexInt/hexStr function to tiflash ( #35902 )
...
close pingcap/tidb#35901
2022-08-05 13:10:06 +08:00
ac91c75121
expression: implement shiftLeft function pushdown ( #36677 )
...
close pingcap/tidb#36733
2022-08-04 17:26:08 +08:00
b364cecdcc
planner: use the unified parameters for plan cache ( #36781 )
2022-08-03 18:35:49 +08:00
6a6fa8a882
ddl: Add sql_require_primary_key sysvar ( #36146 )
...
close pingcap/tidb#28544
2022-08-03 17:20:06 +08:00
5b4a82dbf4
*: upgrade bazel timeout ( #36776 )
2022-08-02 11:10:05 +08:00
0b1d3e0da3
*: cleanup sysvar API usage ( #36640 )
...
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
dd2e07658a
planner: check virtual column for tiflash ( #36771 )
...
close pingcap/tiflash#5513 , close pingcap/tidb#36773
2022-08-01 23:16:05 +08:00
9a16a8dd19
*: replace defer clean with t.Cleanup ( #36722 )
...
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
f459bb3a86
planner: avoid change the type of the input of sum/avg ( #36372 )
...
close pingcap/tidb#36371
2022-07-29 16:21:12 +08:00
11e9d8519d
planner: set/clear not null flag when create a new baseBuiltinFunc ( #36518 )
...
close pingcap/tidb#36517
2022-07-29 10:31:11 +08:00
6baea73277
*: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) ( #36660 )
2022-07-28 19:23:11 +08:00
15009a7c4e
*: clean code ( #36655 )
2022-07-28 15:09:11 +08:00
61175e8a4d
expression: fix return type of agg func bit_or when handling varbinary column ( #36415 )
...
close pingcap/tidb#36400
2022-07-22 14:59:09 +08:00
25d777df8c
expression: fix extract day_microsecond/second/minute/hour from datetime ( #36367 )
...
close pingcap/tidb#36358
2022-07-21 01:53:08 +08:00
8baa28798c
expression: fix the problem that the function cast duration as time do not respect system timestamp ( #36283 )
...
close pingcap/tidb#36279
2022-07-20 22:29:09 +08:00
f0717dfe07
statistics, sessionctx: introduce topn assisted cardinality estimation for string matching functions ( #36210 )
...
close pingcap/tidb#36209
2022-07-20 21:55:09 +08:00
ab513bf0ca
ddl: support concurrent ddl ( #32169 )
...
* 1. init ddl tables
create tidb_ddl_job, tidb_ddl_reorg, tidb_ddl_history tables with raw meta write, these 3 tables is use to replace the ddl job queue and reorg and history hash table
* 2. setup concurrent ddl env and add ddl worker pool
adds the ddl worker pool definition, the ddl job manager will find a job and ship it to a worker in the worker pool.
Also, this commit provides a sessionctx wrapper, only use in ddl relate. it just wraps begin, commit and execute
* 3. add ddl manager to handle ddl job
* 4. reorg handler for concurrent ddl
just implements the partner of the reorg information.
* 5. manage ddl jobs for concurrent ddl
add the partner of add job, delete job and many others related to history job
because many of the functions need a session now, we just change the caller
* 6. add metrics for concurrent ddl
add metrics
* 7. support multiple tables
* 8. fix test
* 9. migrate ddl between table and queue
support switch between the old and new ddl framework, migrate the existing ddl job between queue and table
* 10. check tikv version and set reorg worker count according cpu count
* *: add featuretag on tests
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com >
* use a determined table id for 3 tables
* remove ctx value
* add GetSchemaVersionWithNonEmptyDiff function
* address tangenta and zimulala comment
* use only one etcd path
* make ActionRenameTable support multi-schema
* reset sql digest to make top sql work correct
* add comment
* fix test
* remove 0 for schema version lock
Co-authored-by: xiongjiwei <xiongjiwei1996@outlook.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
Co-authored-by: wjHuang <huangwenjun1997@gmail.com >
2022-07-20 21:20:07 +08:00