Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support explicit PARTITION selection with LOAD DATA #56129

Open
mjonss opened this issue Sep 18, 2024 · 0 comments
Open

Support explicit PARTITION selection with LOAD DATA #56129

mjonss opened this issue Sep 18, 2024 · 0 comments
Labels
component/tablepartition This issue is related to Table Partition of TiDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@mjonss
Copy link
Contributor

mjonss commented Sep 18, 2024

Enhancement

Support explicit PARTITION selection with LOAD DATA

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)" 
@mjonss mjonss added type/enhancement The issue or PR belongs to an enhancement. component/tablepartition This issue is related to Table Partition of TiDB. labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tablepartition This issue is related to Table Partition of TiDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant