hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-187) ODBC driver
Date Thu, 18 Dec 2008 08:02:44 GMT
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
             Fix For: 0.2.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