Commit Graph

  • 9f38fcae00 planner,executor: improve the convenience of functions (#61546) Weizhen Wang 2025-06-06 16:57:06 +08:00
  • 5a55c047c4 executor: support SQL syntax for distribute table timeout configuration (#61348) tongjian 2025-06-06 16:56:59 +08:00
  • af43e24f24 ddl: fix a bug that index with empty name can be created unexpectedly (#61531) CbcWestwolf 2025-06-06 16:11:03 +08:00
  • 835472c385 ttl: fix the issue that the TTL execution summary for timeout job is empty (#61518) YangKeao 2025-06-06 16:10:56 +08:00
  • fc28ff6fa1 ttl: fix the issue that TTL cannot start if regions are merged frequently (#61530) YangKeao 2025-06-06 15:09:53 +08:00
  • cc0925eeaf Lightning: Attempt to return writeTooSlow when we experience write timeout. (#61346) OliverS929 2025-06-06 15:09:45 +08:00
  • 92925e9689 planner: fix wrongly skip plan cache with predicate simplification (#61515) Weizhen Wang 2025-06-06 13:40:38 +08:00
  • 081a88f370 *: update go1.23.10 (#61538) Weizhen Wang 2025-06-06 12:26:44 +08:00
  • 0d8e2bb4c5 planner: Make SET_VAR hints restore the correct session variable values after execution. (#61165) Will DeVries 2025-06-05 10:23:29 -07:00
  • d216b7be1a ingestor: fix reused httpclient schema and move ingest api err to ingestcli pkg (#61492) D3Hunter 2025-06-05 21:10:44 +08:00
  • 7afd0168e8 *: Remove useless br metrics (#61511) yibin 2025-06-05 19:25:23 +08:00
  • 1f7fda4c45 planner: fix index merge skyline pruning may be prior to choose distinct partial index rather than the low count one. (#61372) Arenatlx 2025-06-05 18:19:41 +08:00
  • 0f5aa223ec *: rewrite InTest to EnableInternalCheck (#60167) wjHuang 2025-06-05 15:56:08 +08:00
  • 5ce93d1969 prepare, stmtctx: fix the issue that errors/warnings in parse stage are not cleaned or reported (#59276) YangKeao 2025-06-05 15:04:14 +08:00
  • ac812cac18 planner: use slices.Sort to simple code (#61505) Weizhen Wang 2025-06-05 13:31:20 +08:00
  • 7caaf406a3 tests: remove non-exists failpoint in test cases (#61504) Hangjie Mo 2025-06-05 11:54:11 +08:00
  • f4989a6925 *: Set keyspace_name const labels for client-go related metrics (#61405) yibin 2025-06-05 10:41:56 +08:00
  • 23de08cfb5 types: refactor Datum.Sort (#61494) Weizhen Wang 2025-06-04 23:18:59 +08:00
  • ac6ea64b37 *: support TopSQL keyspace info (next-gen) using KeyspaceName instead of KeyspaceID (#61319) Lynn 2025-06-04 21:56:47 +08:00
  • b159f56cd4 planner,range: simple the code for sorting the pointers (#61456) Weizhen Wang 2025-06-04 20:05:26 +08:00
  • 029c0a90d0 *: inject random error for global sort & injest (#60582) wjHuang 2025-06-04 19:29:23 +08:00
  • 51f88cc469 resource control, keyspace: update pd-client and client-go (#61381) lhy1024 2025-06-04 18:34:41 +08:00
  • ee646437a3 planner: support inverted index and late materialization in CBO (#60589) Lloyd-Pottiger 2025-06-04 17:00:23 +08:00
  • 2bd14176d4 build: fix build tags for some make target (#61481) D3Hunter 2025-06-04 14:53:08 +08:00
  • c1a4550fd4 dxf: make target scope fixed to dxf_service on nextgen (#61427) D3Hunter 2025-06-04 14:53:02 +08:00
  • ce499e616c build(deps): bump pymysql from 1.1.0 to 1.1.1 in /tests/clusterintegrationtest (#61480) dependabot[bot] 2025-06-04 05:59:56 +00:00
  • d0369ffcec ingestor: reuse http client and close idle connections on localbackend close for nextgen (#61473) D3Hunter 2025-06-04 13:12:05 +08:00
  • 43f7580bc8 br: skip restoring the system tables if they have been renamed (#61465) Jianjun Liao 2025-06-04 12:06:17 +08:00
  • ca423cf08f ci: Add cluster test for vector search (#61009) Zequan 2025-06-04 11:04:35 +08:00
  • 1b1c0c0320 parser: fix IsReadOnly function with trace stmt (#61472) Hangjie Mo 2025-06-04 10:15:59 +08:00
  • 10296d1d1c planner: Only count all topn when necessary (#61421) tpp 2025-06-03 11:11:35 -07:00
  • c77c36baf7 domain: must load repair table (#61451) Jiaqiang Huang 2025-06-04 01:10:44 +08:00
  • fd83c9bf43 planner: fix primary index hint when isolation read engine is tiflash (#61234) lilinghai 2025-06-03 21:45:17 +08:00
  • 675bb333a4 executor: skip bad zip file when to load plan replayer (#61470) Weizhen Wang 2025-06-03 21:02:59 +08:00
  • b0877f81cc planner: add tpch Q21 for bench daily (#61469) Weizhen Wang 2025-06-03 20:04:51 +08:00
  • c8e7dd4d6f log restore: filter backupmeta file by ts to speed up pitr (#61347) 3pointer 2025-06-03 20:04:44 +08:00
  • d23ab65d55 build(deps): bump github.com/mgechev/revive from 1.9.0 to 1.10.0 (#61403) dependabot[bot] 2025-06-03 10:10:23 +00:00
  • 2036543b29 disttask: set moderate timeout for pkg/disttask/framework/storage (#61463) Weizhen Wang 2025-06-03 17:26:38 +08:00
  • 609805c5f9 executor, sqlexec: add a function to let DrainRecordSet also close the RecordSet (#61448) Whitea 2025-06-03 15:20:29 +08:00
  • bed8f2573a executor: fix INSERT IGNORE + STRICT Mode + DST transition. (#61440) Mattias Jonsson 2025-06-03 07:08:38 +02:00
  • cb961050fc planner: add tpch Q4 for bench daily (#61453) Weizhen Wang 2025-06-03 11:52:11 +08:00
  • fa3c79b408 br: enable parallel restore (#58724) Wenqi Mou 2025-06-02 22:36:14 -04:00
  • e7b038b991 expression: deduplicate the args of IN function (#61249) Yiding Cui 2025-05-31 10:22:14 +08:00
  • fbf158686d planner: Make SET_VAR query hints restore the original session variable values. (#61280) Will DeVries 2025-05-30 14:05:26 -07:00
  • 5148316442 planner: move physical schema producer to physical op pkg. (#61429) Arenatlx 2025-05-30 23:45:26 +08:00
  • 438b6a2061 docs: Add refresh stats command design doc (#61330) Poe Liu 2025-05-30 16:36:26 +02:00
  • e4b9aaf807 planner: add tpch q2,q5 test cases (#61407) Weizhen Wang 2025-05-30 17:26:16 +08:00
  • 19d2a07b29 br: sort meta kv by ts when updating table history (#61366) Wenqi Mou 2025-05-30 05:26:08 -04:00
  • ff4e01dfae planner, executor: clone the field type for correlated column when setting the EnumSetAsIntFlag flag. (#61412) Arenatlx 2025-05-30 14:55:52 +08:00
  • d1e09c73fb executor: tiny optimize import into from select performance by avoid 1 cast and memory allocation (#60397) crazycs 2025-05-30 13:34:58 +08:00
  • 35e7667418 br: add a checkpoint metadata validation for restore (#61108) ris 2025-05-30 12:38:16 +08:00
  • cfac5454c0 parser: add support for REFRESH STATS statement and related structures (#61299) Poe Liu 2025-05-29 16:25:19 +02:00
  • e7c62acd93 domain, server: fix dump plan replayer panic (#61404) Hangjie Mo 2025-05-29 21:36:44 +08:00
  • 1ff4004505 executor: fix data race because of using shared KV requests (#61376) you06 2025-05-29 22:36:37 +09:00
  • 121cbcba2c planner: improve OptimizationFlags to avoid internal sql's syncload (#61401) Weizhen Wang 2025-05-29 20:46:10 +08:00
  • 684010c999 external: fix the dead loop in readNBytes (#61309) CbcWestwolf 2025-05-29 19:16:19 +08:00
  • 69ea78a085 expression: avoid calling strings.ToLower frequently (#61385) Weizhen Wang 2025-05-29 18:09:07 +08:00
  • 3cdf5954a7 expression: refine code in IsPushDownEnabled (#61392) xufei 2025-05-29 16:36:19 +08:00
  • c76425a55d executor: stabilize flaky test TestInfoschemaTablesSpecialOptimizationCovered (#61400) tiancaiamao 2025-05-29 15:26:55 +08:00
  • e315cff650 importinto: disable some feature for nextgen when sem enabled (#61370) D3Hunter 2025-05-29 14:17:55 +08:00
  • f017c0ee99 test: TestBenchDaily for Pipelined DML (#61391) ekexium 2025-05-29 13:32:10 +08:00
  • 98dd9708b3 *: Fix insert dst transition timestamp (#61337) Mattias Jonsson 2025-05-29 05:35:01 +02:00
  • eeccd2e94c ddl: get scatter variable from executor session context (#61331) Jiaqiang Huang 2025-05-28 23:36:37 +08:00
  • f60f68ac84 planner: use strings.EqualFold don't use ToLower again (#61383) Weizhen Wang 2025-05-28 21:40:10 +08:00
  • 55338dfa84 br: fix backup schemas progress if skip checksum (#60150) Jianjun Liao 2025-05-28 19:56:43 +08:00
  • d278fffc9d expression: refactor expression.Contains to improve performance (#61374) Weizhen Wang 2025-05-28 18:01:49 +08:00
  • f96cb1fe03 session, processinfo: fix process info for stale read (#61329) YangKeao 2025-05-28 16:11:28 +08:00
  • e72c97a3ba ddl: remove deadcode (#61343) wjHuang 2025-05-28 13:44:34 +08:00
  • 25e31b84fd planner: add tpc-h Q22 test (#61360) Weizhen Wang 2025-05-28 12:37:46 +08:00
  • 1e65712d7d planner: correct the copTask's plan should not contain hash join operator when encapsulating task. (#61351) Arenatlx 2025-05-28 11:11:19 +08:00
  • 5c86ca816c statistics: the totalCount/minCount of TopN is calculated only once (#61340) Weizhen Wang 2025-05-28 10:10:55 +08:00
  • b871e0281e br: compatibility of log backup and log restore (#61238) Jianjun Liao 2025-05-28 02:46:58 +08:00
  • ed869351f9 executor: random port to fix flaky test TestLoadRemote (#61362) Weizhen Wang 2025-05-27 23:42:31 +08:00
  • cac7292fef br: add restoreid to idmap table (#61278) Wenqi Mou 2025-05-27 10:11:04 -04:00
  • 9b7cd6acc0 ci: Support ut run-multi for CSE (#61352) Wenxuan 2025-05-27 20:38:34 +08:00
  • 842c88bf7c planner: predicate simplification when to push down predicate with join (#61316) Weizhen Wang 2025-05-27 18:45:22 +08:00
  • 73673086c0 expression: introduce new function for JSON array (#60728) Ruihao Chen 2025-05-27 17:58:49 +08:00
  • 1eb66dab8c br: replace stats tables to accelerate statistic data import in the snapshot restore (#60964) Jianjun Liao 2025-05-27 16:09:01 +08:00
  • a761430f2c cgmon: fix the issue that CPU quota is 0 if it's not limited by cgroup (#61322) YangKeao 2025-05-27 15:02:01 +08:00
  • 998279fef1 planner: index join banned the enforced sort from stream agg, which is not supported in executor layer now. (#61324) Arenatlx 2025-05-27 13:40:58 +08:00
  • d1ea58f909 *: ensure keyspace name is set for nextgen (#61317) D3Hunter 2025-05-27 12:18:13 +08:00
  • bd0f52c32a planner: fix TestPhysicalOptimizerTrace (#61328) Yiding Cui 2025-05-26 22:23:31 +08:00
  • 0a9281c3c6 planner: add MPPSink interface for later MPP CTE support (#61252) Yiding Cui 2025-05-26 20:57:37 +08:00
  • 3634a3c0f9 domain: use PutKVToEtcd in notifyUpdatePrivilege to avoid stuck by etcd operation (#61286) Qiao Tianshuo 2025-05-26 19:57:25 +08:00
  • 6081ed63c8 executor: add an unalignment load test for hash join v2 (#61257) xufei 2025-05-26 18:32:55 +08:00
  • 3ab8c7fe85 importinto: forbid set external-id explicitly and set it to keyspace name when sem enabled on nextgen (#61315) D3Hunter 2025-05-26 16:14:19 +08:00
  • 6d7cb93499 config: add check to keyspace name (#61295) D3Hunter 2025-05-26 13:14:22 +08:00
  • 43da6d1457 linter: upgrade golangci-linter's config v2 (#61304) Weizhen Wang 2025-05-26 12:20:34 +08:00
  • ebb4febfc5 parse: impl cancel distribution job sql (#60726) tongjian 2025-05-26 11:52:34 +08:00
  • 7702f73bee expression: Timestamp literal with time zone offset (#57845) Mattias Jonsson 2025-05-26 04:46:25 +02:00
  • 1c6c5ad2ac ttl: fix ut failure after using advanced session (#61180) YangKeao 2025-05-25 21:24:34 +08:00
  • d7d62ce0d2 *: upgrade rules_go (#61302) Weizhen Wang 2025-05-25 12:38:52 +08:00
  • a075775ec8 planner: remove useless code (#61227) Weizhen Wang 2025-05-24 23:19:31 +08:00
  • 62abfe6000 *: support TopSQL with keyspace info for next-gen (#60884) Lynn 2025-05-24 20:15:07 +08:00
  • 9e35ae6265 planner: consider leading hints (join order) when exploring plans (#61279) Yuanjia Zhang 2025-05-23 22:24:37 -07:00
  • f1dd16a86d metrics: fix connect issue when tls enabled (#61122) 3pointer 2025-05-24 12:21:13 +08:00
  • 5a00a10d38 disttask: distribute merge sort subtasks to all available nodes (#60395) tangenta 2025-05-24 12:21:07 +08:00
  • cba8025fb9 br: fix the last checkpoint from tidb advancer owner is not updated in PD (#61032) Jianjun Liao 2025-05-24 04:36:25 +08:00
  • dc443455c4 test: fix unstable test TestAddGlobalIndexInIngestWithUpdate (#61293) Hangjie Mo 2025-05-24 00:34:43 +08:00
  • fb627a3fa2 planner: fix new index join build forget to convert cop to root when prop require rootTaskType (#61275) Arenatlx 2025-05-23 23:21:25 +08:00