-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
SELECT INTO OUTFILE doesn't take effect when using clustered index to filter data #42093
Comments
Seems a planner issue: |
/remove-sig execution |
/sig planner |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
create table t (id int not null, primary key (id) /*T![clustered_index] CLUSTERED */ );
insert into t values(1);
select * from t where id=1 into outfile '/tmp/data.txt';
2. What did you expect to see? (Required)
The resulting row is written to the file
data.txt
.3. What did you see instead (Required)
The resulting row is just displayed in terminal.
4. What is your TiDB version? (Required)
v6.6.0
The text was updated successfully, but these errors were encountered: