Re: Python phoenixdb adapter and JSON serialization on PQS

2018-11-09 Thread Manoj Ganesan
ue, before you start requesting large batches of > records from PQS (with *either* serialization). > > It sounds like the JSON serialization in the Python driver does not > match what PQS/Avatica currently expects. Avatica provides no guarantee > of wire compatibility for JSON, so you

Re: Python phoenixdb adapter and JSON serialization on PQS

2018-11-08 Thread Manoj Ganesan
passing cursor.itersize=2K (note that protobuf did not work with fetching all rows at once, i.e., cursor.itersize=-2) Because of these issues, for now we have switched PQS to using JSON serialization and updated our clients to use the same. We’re obviously very much interested in understanding how

Re: Python phoenixdb adapter and JSON serialization on PQS

2018-11-05 Thread Manoj Ganesan
is a wire > protocol that all clients use to talk to PQS. More digging/information > you can provide about the exact circumstances (and, again, > steps/environment to reproduce what you see) would be extremely helpful. > > Thanks Manoj. > > - Josh > > On 11/2/18 7:16 PM, M

Re: Python phoenixdb adapter and JSON serialization on PQS

2018-11-02 Thread Manoj Ganesan
> extremely easy and we have multiple examples over the past years where > we've been able to fix bugs in a backwards compatible manner. > > If you want the thin client to continue to work across versions, stick > with protobuf. > > On 11/2/18 5:27 PM, Manoj Ganesan wrote:

Python phoenixdb adapter and JSON serialization on PQS

2018-11-02 Thread Manoj Ganesan
Hey everyone, I'm trying to use the Python phoenixdb adapter work with JSON serialization on PQS. I'm using Phoenix 4.14 and the adapter works fine with protobuf, but when I try making it work with an older version of phoenixdb (before the JSON to protobuf switch was introduced), it just returns