pingcap / pingcap/tidb

Enable _tidb_commi_ts for TableScan and IndexLookup

Open
#70,878 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

Currently, reading `_tidb_commit_ts` column for TableScan and IndexLookup executors is diables. We need to enable it.

Contributor guide

Open the contributing guide

Research direction

Start by locating the TableScan and IndexLookup executor entry points and tracing how the `_tidb_commit_ts` column is handled for reads. Confirm the change with the relevant executor tests, ensuring both executors can read the column without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.