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

Way to export to OUTFILE or as CSV? #3

Open
petewilcock opened this issue Aug 16, 2016 · 2 comments
Open

Way to export to OUTFILE or as CSV? #3

petewilcock opened this issue Aug 16, 2016 · 2 comments

Comments

@petewilcock
Copy link

As the header says, is there a way to construct the query to export into OUTFILE or have the results displayed as CSV? Otherwise big feature request for this :)

@gtrevg
Copy link

gtrevg commented Oct 18, 2017

@petewilcock This pull request may be of use: #5

I had wanted JSON output for a while. I saw your issue and figured I'd try to add in csv at the same time. Piping aq to a file should allow you to get all the csv data into a file.

@petewilcock
Copy link
Author

Great work @gtrevg ! Thank you for making the effort! Once merged this will make it a lot easier to automate simple queries against our infrastructure and pipe the results to somewhere they can be consumed and analysed automatically :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants