pingcap / pingcap/tidb

tidb-lightning table schema not found

Open
#46,038 0 comments 0 reactions 0 assignees View on GitHub
component/lightning severity/moderate 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!
tidb cluster not case sensitive for table and schema name. When the name of the imported file is uppercase and the name of the downstream database is lowercase, lightning will report an error

### 1. Minimal reproduce step (Required)
1. dumpling schema file name:
a
2. downstream schema name:
A
3. exec lightning import data to downstream from dumpling files

### 2. What did you expect to see? (Required)
import successful

### 3. What did you see instead (Required)
a schema not found

### 4. What is your TiDB version? (Required)
tidb and tidb-lightning all versiion

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.