Commit Graph

303 Commits

Author SHA1 Message Date
a48a4a28a4 executor: populate correct user in set pwd for error msg (#54040)
close pingcap/tidb#54039
2024-07-17 18:25:31 +00:00
5e872b9396 planner: explanation of the left condition remains consistent with the others (#54647)
close pingcap/tidb#54656
2024-07-16 07:45:06 +00:00
9044acbff3 planner: fix the issue accessing unnecessary table side caused by column pruning (#54609)
close pingcap/tidb#54213
2024-07-15 10:35:58 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
3fc5939239 executor,infoschema: Add pad_attribute to collation info (#54282)
close pingcap/tidb#54250
2024-07-10 10:07:34 +00:00
cbf34c51e9 executor/simple: prohibit setting a resource group to a role (#54525)
close pingcap/tidb#54417, ref pingcap/tidb#54434
2024-07-09 13:07:34 +00:00
e209c7dafb expression: fix the type of casting YEAR as json (#54146)
ref pingcap/tidb#54027, close pingcap/tidb#54494
2024-07-09 09:40:33 +00:00
0f81cea72c config: Change tidb_opt_projection_push_down default value to true (#53831)
ref pingcap/tidb#51876
2024-07-08 08:36:03 +00:00
a220260518 parser: Support STRAIGHT_JOIN...USING (#54164)
close pingcap/tidb#54162
2024-07-04 16:44:57 +00:00
3a384e6066 planner: refactor a few code of plan cache (#54442)
ref pingcap/tidb#54057
2024-07-04 14:22:28 +00:00
aeea03d21c planner: include both indexes and columns in job info (#54336)
ref pingcap/tidb#53567
2024-07-03 10:59:57 +00:00
9d6bca4b2e parser,types: Fix error for JSON max depth (#54237)
ref pingcap/tidb#54207
2024-06-28 10:56:54 +00:00
5b1a3d1e9e expression: Return non-retryable error for schema errors (#54278)
close pingcap/tidb#54273
2024-06-28 03:34:23 +00:00
7d5f1d75bd ddl: Allow JSON functions for defaults (#52786)
close pingcap/tidb#52785
2024-06-27 10:46:23 +00:00
08d5d29ff3 *: use StaticExprContext instead of mock context to build expression (#54101)
ref pingcap/tidb#53388, close pingcap/tidb#54271
2024-06-27 09:34:23 +00:00
cf9f91f00c executor: fix show create table output with check constraint (#54215)
close pingcap/tidb#54214
2024-06-26 07:11:52 +00:00
01cc0274bd stats: fix index_length in information_schema (#54176)
close pingcap/tidb#54173
2024-06-25 02:20:51 +00:00
d1080e57a0 planner: remove the same projection when to InjectExtraProjection (#54163)
close pingcap/tidb#54123
2024-06-24 16:40:21 +00:00
4d8e1d5e48 expression: truncate time part for current_date columns (#54045)
close pingcap/tidb#53746
2024-06-21 08:49:19 +00:00
tpp
8ee4897b39 planner: reduce topn count to exclude non-skewed values (#53035)
close pingcap/tidb#53111
2024-06-19 05:37:17 +00:00
9008d23c83 *: remove ExtraPidCol and replace it with ExtraPhysTblIDCol (#53974)
close pingcap/tidb#53929
2024-06-18 09:58:24 +00:00
7b259929a9 expression: Fix errors for JSON functions (#53800)
close pingcap/tidb#53799
2024-06-18 03:22:16 +00:00
6ba94359d5 planner: skip index scan plan for tablesample (#54016)
close pingcap/tidb#54015
2024-06-14 15:29:44 +00:00
518b512609 ddl: set proper default flen of decimal(0) columns (#54028)
close pingcap/tidb#53779
2024-06-14 08:35:50 +00:00
152db14934 executor: add hash join v2 (#53208)
ref pingcap/tidb#53127
2024-06-14 08:35:44 +00:00
29fc940ae4 resource_control: introduce privilege RESOURCE_GROUP_USER to restrict the switch of resource group (#53483)
close pingcap/tidb#53440
2024-06-14 07:40:14 +00:00
b96a775753 Optimizer: Fix range extraction for CNF(conjunctive normal form) (#53908)
ref pingcap/tidb#41598
2024-06-14 05:13:13 +00:00
d53b34412f planner: prevent pushing Projection with virtual columns down to UnionScan (#53981)
close pingcap/tidb#53951
2024-06-13 18:43:55 +00:00
d5fece20f7 ddl: Regenerating AutoIDs for _tidb_rowid during Reorganize Partition (#53770)
close pingcap/tidb#53385
2024-06-13 04:09:00 +00:00
25d1c83769 expression: Fix JSON quote (#53961)
close pingcap/tidb#37294
2024-06-13 01:04:30 +00:00
2372cf828c hint: avoid duplicate hints in QBHintHandler (#53921)
close pingcap/tidb#53767
2024-06-11 09:52:30 +00:00
98a0a755fb ddl: unify merging unique and non-unique index for multi-schema change (#53632)
close pingcap/tidb#53677
2024-06-05 09:07:26 +00:00
d5e9c6e949 planner,expression: Limit projection pushed down scope to avoid potential performance degression (#53650)
close pingcap/tidb#53613
2024-06-04 09:52:26 +00:00
be86a2594e ddl: Reorganize partition supporting global index (#53277)
ref pingcap/tidb#45133
2024-06-04 08:16:26 +00:00
f1ec74b3b8 *: fix insert on duplicate and replace into with global index (#53717)
close pingcap/tidb#53711, close pingcap/tidb#53750
2024-06-03 12:19:24 +00:00
3d68bd2124 expression: fail ColumnSubstituteImpl if creating function returns error (#53716)
close pingcap/tidb#53580, close pingcap/tidb#53582, close pingcap/tidb#53594, close pingcap/tidb#53603
2024-06-03 08:55:24 +00:00
fc3132ce9b expression: JSON_SCHEMA_VALID() (#52780)
close pingcap/tidb#52779
2024-06-03 06:17:54 +00:00
c79716efb7 tests: add some test cases for global index (#53630)
ref pingcap/tidb#45133
2024-05-29 11:26:50 +00:00
68d12954fe expression: fix wrong result when convert float to unsigned (#53590)
close pingcap/tidb#41736
2024-05-28 05:43:20 +00:00
9164182d0b config: must set line terminator when use strict-format (#53444)
close pingcap/tidb#37338
2024-05-27 08:41:50 +00:00
45318da24d expression: fix the fsp of casting json as datetime/duration (#53535)
close pingcap/tidb#53352
2024-05-25 05:05:48 +00:00
027de7a8c2 planner: remove some restrictions for global index (#53509)
ref pingcap/tidb#45133
2024-05-24 05:17:47 +00:00
10873885aa executor: global index supports admin [recover | cleanup] index (#53499)
close pingcap/tidb#53439
2024-05-24 01:43:18 +00:00
fe5858b00c ranger: handle longlong overflow properly (#52365)
close pingcap/tidb#45783
2024-05-23 01:40:17 +00:00
2e756fcb89 tests: speed up integration test (#53426) 2024-05-21 04:29:45 +00:00
f5ac93e448 executor: add a new column is_global into information_schema.tidb_indexes table (#53345)
close pingcap/tidb#53342
2024-05-17 15:25:13 +00:00
68db9c06fd infoschema: change datetime fields of ddl_jobs to datetime(6) (#53339)
close pingcap/tidb#52919
2024-05-17 09:25:20 +00:00
9581442747 tests: move TestNoopFunctions to tests/integrationtest (#53343)
ref pingcap/tidb#45961
2024-05-17 08:17:44 +00:00
491740bb83 planner: move checks for noop functions in select statements to preprocess (#53279)
close pingcap/tidb#52432
2024-05-17 01:34:13 +00:00
2809439d75 table, executor: let SplitIndexValue work with clustered index table. (#53254)
close pingcap/tidb#49995
2024-05-16 12:26:43 +00:00