You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Lukáš Lalinský <la...@gmail.com> on 2015/06/28 20:27:19 UTC
Python client for the query server
Hi all,
Over the last couple of days I have implemented a Python implementation of
the Avatica RPC client and a package with the standard Python DB API 2.0
interface that uses the client, allowing it to talk to the Phoenix query
server. The project is in very early stage, but it passes the most commonly
used DB API 2.0 compliance and can do the most basic SQL operations, so I
thought I'd share it here to possibly get some feedback.
https://bitbucket.org/lalinsky/python-phoenixdb/src
Regards,
Lukas
Re: Python client for the query server
Posted by Lukáš Lalinský <la...@gmail.com>.
I will be adding tickets as I'm doing more testing. I expect there will be
some issues with how various data types are represented in JSON and whether
they can survive the transformation.
Lukas
On Mon, Jun 29, 2015 at 1:30 AM, Nick Dimiduk <nd...@gmail.com> wrote:
> Very cool Lukáš!
>
> I see you have a couple critiques of Avatica, for instance CALCITE-767. We
> do have a ticket for passing exceptions back to the client, CALCITE-645.
> Are there other issues you've encountered?
>
> -n
>
> +Calcite
>
> On Sun, Jun 28, 2015 at 11:27 AM, Lukáš Lalinský <la...@gmail.com>
> wrote:
>
>> Hi all,
>>
>> Over the last couple of days I have implemented a Python implementation
>> of the Avatica RPC client and a package with the standard Python DB API 2.0
>> interface that uses the client, allowing it to talk to the Phoenix query
>> server. The project is in very early stage, but it passes the most commonly
>> used DB API 2.0 compliance and can do the most basic SQL operations, so
>> I thought I'd share it here to possibly get some feedback.
>>
>> https://bitbucket.org/lalinsky/python-phoenixdb/src
>>
>> Regards,
>> Lukas
>>
>>
>
Re: Python client for the query server
Posted by Nick Dimiduk <nd...@gmail.com>.
Very cool Lukáš!
I see you have a couple critiques of Avatica, for instance CALCITE-767. We
do have a ticket for passing exceptions back to the client, CALCITE-645.
Are there other issues you've encountered?
-n
+Calcite
On Sun, Jun 28, 2015 at 11:27 AM, Lukáš Lalinský <la...@gmail.com> wrote:
> Hi all,
>
> Over the last couple of days I have implemented a Python implementation of
> the Avatica RPC client and a package with the standard Python DB API 2.0
> interface that uses the client, allowing it to talk to the Phoenix query
> server. The project is in very early stage, but it passes the most commonly
> used DB API 2.0 compliance and can do the most basic SQL operations, so I
> thought I'd share it here to possibly get some feedback.
>
> https://bitbucket.org/lalinsky/python-phoenixdb/src
>
> Regards,
> Lukas
>
>
Re: Python client for the query server
Posted by Nick Dimiduk <nd...@gmail.com>.
Very cool Lukáš!
I see you have a couple critiques of Avatica, for instance CALCITE-767. We
do have a ticket for passing exceptions back to the client, CALCITE-645.
Are there other issues you've encountered?
-n
+Calcite
On Sun, Jun 28, 2015 at 11:27 AM, Lukáš Lalinský <la...@gmail.com> wrote:
> Hi all,
>
> Over the last couple of days I have implemented a Python implementation of
> the Avatica RPC client and a package with the standard Python DB API 2.0
> interface that uses the client, allowing it to talk to the Phoenix query
> server. The project is in very early stage, but it passes the most commonly
> used DB API 2.0 compliance and can do the most basic SQL operations, so I
> thought I'd share it here to possibly get some feedback.
>
> https://bitbucket.org/lalinsky/python-phoenixdb/src
>
> Regards,
> Lukas
>
>