vesoft-inc / nebula-go

Nebula client in Golang
Apache License 2.0
134 stars 70 forks source link

support to get result response byte size #295

Open HarrisChu opened 11 months ago

HarrisChu commented 11 months ago

fix https://github.com/vesoft-inc/nebula-go/issues/293

please note:

when invoke GetByteSize(), it would serialize the thrift struct. if the struct is a huge struct, it may cost much more time and memory.

Nicole00 commented 11 months ago

Please keep this issue and PR open, and consider merging it into master if there is a requirement later.

wenhaocs commented 9 months ago

Can we specify it's for debugging and testing purpose only, i.e., add TEST or DEBUG in the function name?