hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Hwang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-187) ODBC driver
Date Wed, 29 Jul 2009 18:48:14 GMT

    [ https://issues.apache.org/jira/browse/HIVE-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736746#action_12736746
] 

Eric Hwang commented on HIVE-187:
---------------------------------

Hi all,

The ODBC driver that I am now working on supports most of the basic ODBC functionality for
connecting, executing queries, and fetching results. The build process is proving to be a
little more complicated because the driver was developed using the unixODBC framework, which
cannot be committed into the apache repo, but I'll see if I can include it as an attachment
to this JIRA. If all goes well, I should have a patch up by the end of this week. Thanks for
waiting guys.

Regards,
Eric

> ODBC driver
> -----------
>
>                 Key: HIVE-187
>                 URL: https://issues.apache.org/jira/browse/HIVE-187
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Clients
>    Affects Versions: 0.2.0
>            Reporter: Raghotham Murthy
>            Assignee: Eric Hwang
>             Fix For: 0.4.0
>
>
> We need to provide the a small number of functions to get basic query
> execution and retrieval of results. This is based on the tutorial provided
> here: http://www.easysoft.com/developer/languages/c/odbc_tutorial.html
>  
> The minimum set of ODBC functions required are:
> SQLAllocHandle - for environment, connection, statement
> SQLSetEnvAttr
> SQLDriverConnect
> SQLExecDirect
> SQLNumResultCols
> SQLFetch
> SQLGetData
> SQLDisconnect
> SQLFreeHandle
>  
> If required the plan would be to do the following:
> 1. generate c++ client stubs for thrift server
> 2. implement the required functions in c++ by calling the c++ client
> 3. make the c++ functions in (2) extern C and then use those in the odbc
> SQL* functions
> 4. provide a .so (in linux) which can be used by the ODBC clients.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message