pingcap / pingcap/tidb

Can't find a proper physical plan when using read_from_storage TIFLASH hint for a table containing generate column

Open
#51,360 3 comments 0 reactions 2 assignees Claimed by @hawkingrei View on GitHub
affects-7.5 affects-8.1 severity/moderate sig/planner type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

```
create table tt3(a int,b int ,c int as (a+b));
alter table tt3 set tiflash replica 2;
explain select /*+ read_from_storage(TIFLASH[tt3]) */ * from tt3 limit 2;
```
### 2. What did you expect to see? (Required)
success
### 3. What did you see instead (Required)
ERROR 1815 (HY000): Internal : Can't find a proper physical plan for this query
### 4. What is your TiDB version? (Required)

master

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.