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
The text was updated successfully, but these errors were encountered:
KalaiselvanMahendran
changed the title
Does presto-client-node stream result by object or It gives array of objects ?
Does presto-client-node stream results ?
Dec 29, 2017
KalaiselvanMahendran
changed the title
Does presto-client-node stream results ?
Does presto-client-node stream the resultset ?
Dec 29, 2017
@tagomoris I had the same question, to answer for whoever is interested, no, it does not, in fact the script will poll presto for more data. The polling mechanism is quite simple and is the same frequency before and after the data is ready to download. I have forked the code here to this package: https://www.npmjs.com/package/presto-stream-client which only uses the polling frequency prior to presto having the results ready, and then afterwards gets data from presto as a readstream. I'm happy to have the code merged in however I also made some changes to use es6 among other things so I wasn't sure if it would be a good fit to merge.
No description provided.
The text was updated successfully, but these errors were encountered: