Details
Description
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.
Attachments
Attachments
Issue Links
- depends upon
-
HIVE-671 getSchema() does not work properly with select* queries on Hive Server
- Open
-
HIVE-731 Hive Server getSchema() returns null schema properties
- Open
-
HIVE-613 Hive server fetch row incorrect NULL representation
- Open
-
HIVE-727 Hive Server getSchema() returns wrong schema for "Explain" queries
- Closed
-
HIVE-736 MetaStoreUtils get_fields() does not return partition column
- Closed
-
HIVE-606 Hive server should be able to return result row count for the last query executed
- Open
-
HIVE-728 Hive Server Exception Messages
- Resolved
-
HIVE-729 select expression with optional "as"
- Closed
-
HIVE-80 Add testcases for concurrent query execution
- Open
- relates to
-
HIVE-975 Hive ODBC driver for Windows
- Open
-
HIVE-1101 Extend Hive ODBC to support more functions
- Reopened