pingcap / pingcap/tidb

Correlated columns will not build index ranges when it's not used in equal function

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

Description

## Enhancement

If we get an expression like `col > cor_col`, we'll apply index full scan and fail to build ranges with this expression.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.