phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Chuang <francischu...@apache.org>
Subject Re: Phoenix ODBC driver limitations
Date Wed, 23 May 2018 22:35:25 GMT
Namespace mapping is something you need to enable on the server (it's 
off by default).

See documentation for enabling it here: 
http://phoenix.apache.org/namspace_mapping.html

Francis

On 24/05/2018 5:23 AM, Stepan Migunov wrote:
> Thanks you for response, Josh!
>
> I got something like "Inconsistent namespace mapping properties" and thought
> it was because it's impossible to set "isNamespaceMappingEnabled" for the
> ODBC driver (client side). After your explanation I understood that the
> "client" in this case is queryserver but not ODBC driver. And now I need to
> check why queryserver doesn't apply this property.
>
> -----Original Message-----
> From: Josh Elser [mailto:elserj@apache.org]
> Sent: Wednesday, May 23, 2018 6:52 PM
> To: user@phoenix.apache.org
> Subject: Re: Phoenix ODBC driver limitations
>
> I'd be surprised to hear that the ODBC driver would need to know anything
> about namespace-mapping.
>
> Do you have an error? Steps to reproduce an issue which you see?
>
> The reason I am surprised is that namespace mapping is an implementation
> detail of the JDBC driver which lives inside of PQS -- *not* the ODBC
> driver. The trivial thing you can check would be to validate that the
> hbase-site.xml which PQS references is up to date and that PQS was restarted
> to pick up the newest version of hbase-site.xml
>
> On 5/22/18 4:16 AM, Stepan Migunov wrote:
>> Hi,
>>
>> Is the ODBC driver from Hortonworks the only way to access Phoenix from
>> .NET code now?
>> The problem is that driver has some critical limitations - it seems,
>> driver doesn't support Namespace Mapping (it couldn't be able to connect
>> to Phoenix if phoenix.schema.isNamespaceMappingEnabled=true) and doesn't
>> support query hints.
>>
>> Regards,
>> Stepan.
>>


Mime
View raw message