phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <els...@apache.org>
Subject Re: Phoenix Query Server tenant_id
Date Mon, 20 Feb 2017 21:47:26 GMT
See 
https://github.com/apache/calcite/blob/5181563f9f26d1533a7d98ecca8443077e7b7efa/avatica/core/src/main/java/org/apache/calcite/avatica/remote/Service.java#L1759-L1768

This should be passed down just fine. If you can provide details as to 
how it isn't, that'd be great.

Josh Elser wrote:
> I thought arbitrary properties would be passed through, but I'm not sure
> off the top of my head anymore....
>
> Would have to dig through the Avatica JDBC driver to (re)figure this one
> out.
>
> Michael Young wrote:
>> Is it possible to pass the TenantID attribute on the URL when using the
>> phoenix query server? For example,
>>
>> /usr/hdp/2.5.0.0-1245/phoenix/bin/sqlline-thin.py
>> http://pqshost.myhost.com:8765;TenantId=tenant1
>>
>> This works fine for me when connecting via jdbc. Just didn't seem to
>> work with the query server.
>>
>> Thanks,
>> -Michael
>>
>>
>>

Mime
View raw message