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 the SELECT ... INTO OUTFILE syntax #722

Closed
qw4990 opened this issue Jan 19, 2020 · 2 comments · Fixed by #745
Closed

Support the SELECT ... INTO OUTFILE syntax #722

qw4990 opened this issue Jan 19, 2020 · 2 comments · Fixed by #745
Labels
good first issue Good for newcomers help wanted Extra attention is needed type/new-feature

Comments

@qw4990
Copy link
Contributor

qw4990 commented Jan 19, 2020

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.

Here is a discarded PR that may as a reference for you.

NOTE: do not support INTO DUMPFILE and INTO VARIABLES, supporting the INTO OUTFILE syntax is enough in this issue.

@kennytm
Copy link
Contributor

kennytm commented Jan 19, 2020

NOTE: do not support INTO DUMPFILE and INTO VARIABLES, supporting the INTO OUTFILE syntax is enough in this issue.

Do you mean supporting INTO DUMPFILE and VARIABLES is fine but not necessary?

@qw4990
Copy link
Contributor Author

qw4990 commented Jan 19, 2020

NOTE: do not support INTO DUMPFILE and INTO VARIABLES, supporting the INTO OUTFILE syntax is enough in this issue.

Do you mean supporting INTO DUMPFILE and VARIABLES is fine but not necessary?

Emm yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed type/new-feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants