pingcap / pingcap/tidb

Support explicit PARTITION selection with LOAD DATA

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

Description

## Enhancement
Support explicit PARTITION selection with LOAD DATA
```sql
tidb> create table t (a int, b int) partition by hash (a) partitions 3;
tidb> load data infile '/tmp/t' into table t partition (p0);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 48 near "partition (p0)"
```

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.