You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Send query heartbeat while downloading results #554
would be awesome to get some momentum here, I took a look at the java impl of this (I am not fluent in java) and have a very rough idea of how I can implement but a little unsure what endpoint I need to actually send requests to while the downloading is happening.
I am hoping to implement streaming a result set back from trino into a file that is downloaded by users through some [W|A]SGI framework in python for some context.
Alternatively, this could be implemented by clients today by paginating using OFFSET in queries to consume query results in chunks but this could result in inconsistent responses if data the user is querying changes in between requests.
Activity
hashhar commentedon May 29, 2025
@wendigo Does this result in queries failing midway? Should it be considered as a bug?
wendigo commentedon May 29, 2025
@hashhar if the client is slow then yeah, it can fail in between
jayceslesar commentedon Jul 20, 2025
would be awesome to get some momentum here, I took a look at the java impl of this (I am not fluent in java) and have a very rough idea of how I can implement but a little unsure what endpoint I need to actually send requests to while the downloading is happening.
I am hoping to implement streaming a result set back from trino into a file that is downloaded by users through some [W|A]SGI framework in python for some context.
Alternatively, this could be implemented by clients today by paginating using
OFFSETin queries to consume query results in chunks but this could result in inconsistent responses if data the user is querying changes in between requests.