Thrift.jl icon indicating copy to clipboard operation
Thrift.jl copied to clipboard

Add TBufferedTransport

Open aerotuck opened this issue 9 years ago • 3 comments
trafficstars

aerotuck avatar Jan 22 '16 23:01 aerotuck

@tanmaykm Do you know how much effort it would take to implement TBufferedTransport, or if there is a pure Julia way to implement this functionality as a work-around?

I'm trying to replicate pymapd, which is a Thrift package for MapD. I am able to contact my database via your Julia package, but this line seems to indicate I need to use TBufferedTransport also:

https://github.com/mapd/pymapd/blob/master/pymapd/connection.py#L147

randyzwitch avatar Jun 20 '18 14:06 randyzwitch

TFramedTransport already does buffering and TBufferedTransport should be very similar to it. May be just split TFramedTransport to take the buffering parts out to create TBufferedTransport.

tanmaykm avatar Jun 20 '18 16:06 tanmaykm

Thanks, I'll take a look

randyzwitch avatar Jun 20 '18 16:06 randyzwitch