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 SELECT ... INTO OUTFILE #11112

Closed
zz-jason opened this issue Jul 6, 2019 · 0 comments · Fixed by #14848
Closed

support SELECT ... INTO OUTFILE #11112

zz-jason opened this issue Jul 6, 2019 · 0 comments · Fixed by #14848
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/new-feature

Comments

@zz-jason
Copy link
Member

zz-jason commented Jul 6, 2019

Feature Request

Is your feature request related to a problem? Please describe:

No

Describe the feature you'd like:

From MySQL documentation 13.2.10.1 SELECT ... INTO OUTFILE Syntax:

SELECT ... INTO OUTFILE writes the selected rows to a file. Column and line terminators can be specified to produce a specific output format.

It helps us to store the query result in a CSV form.

After this issue pingcap/parser#722, you have to implement a SelectIntoExec like the ExplainExec to let TiDB support this new syntax.
Describe alternatives you've considered:

No

Teachability, Documentation, Adoption, Migration Strategy:

No

@zz-jason zz-jason added type/enhancement The issue or PR belongs to an enhancement. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/new-feature and removed type/enhancement The issue or PR belongs to an enhancement. labels Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/new-feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant