Hi Jakob,

Assuming that your Hive deployment is running HiveServer2, you could issue
queries and obtain result sets via its Thrift API. Thrift has a broad set
of language implementations, including C IIRC. I believe this is also the
API used by Hive's JDBC connector, so it should be capable from a feature
set perspective.

Cheers - Elliot.

On 10 November 2017 at 10:28, Jakob Egger <[email protected]> wrote:

> Hi!
>
> I'm the developer of a database client tool, and I've received a request
> to add support for querying Apache Hive.
>
> (My tool lets the user execute SQL queries, and it allows browsing tables
> etc.)
>
> As a first step of evaluating this suggestion, I'm trying to find out if
> there is a convenient way to connect to Hive.
>
> From reading the documentation, it seems that the preferred way to connect
> seems to be using the JDBC driver. Since my app is not written in Java,
> this is probably not the way to go. Apart from that, I didn't find much on
> this topic in the docs.
>
> I have a few questions:
>
> 1) What ways are there to connect to Apache Hive?
>
> 2) Is there a C client library?
>
> 3) Is there any documentation on the wire protocol that Hive uses for
> client / server communication?
>
> I'd appreciate if someone who knows more about the project could point me
> in the right direction!
>
> Best regards,
> Jakob

Reply via email to