-
Notifications
You must be signed in to change notification settings - Fork 1k
Streaming MySql ResultSet #552
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
Comments
Hello, @sananguliyev. There is Conn.ExecuteSelectStreaming which call callback for every row instead of saving the whole Resultset in memory. Maybe this is what you want? |
@atercattus it's what I need. I will test it. I do not know how I missed that. Thanks a lot. EDIT: I have tested it but I could not do what I want to implement. I am currently using MySQL Server as a proxy and this method (https://github.com/go-mysql-org/go-mysql/blob/master/server/command.go#L16) should return the whole resultset. |
Got it. Then the functionality requires improvement from my side. I'll make PR for you in the near future. |
Thanks a lot. Looking forward to your PR. |
Hi @atercattus is there any plan regarding to that enhancement? I could contribute in case you share your ideas how you plan to implement it. |
I changed my work and didn't do this task when I was going to... |
Yes, sure. It's totally ok. Thanks for update. |
Hi @atercattus, is there any update? |
hey @sananguliyev, I recently worked on the streaming results from SELECT queries, since I had trouble implementing the initial design as well. Perhaps my refactor works better for you? #596 |
Thankd @skoef, it looks what I am looking for. I will check it. |
Hi,
I wanted to use MySQL proxy for big data analytics which sometimes takes a couple of hours to finish the execution have a full result. Is it possible to stream the
ResultSet
while the query is executing?The text was updated successfully, but these errors were encountered: