[
https://issues.apache.org/jira/browse/HIVE-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739849#action_12739849
]
Raghotham Murthy commented on HIVE-187:
---------------------------------------
@prasad, its better to build from the instant releases (which dont require
bootstrap.sh). The instructions should indicate downloading an instant release
from:
http://gitweb.thrift-rpc.org/?p=thrift.git;a=shortlog;h=refs/misc/instant.
There are a couple problems running bootstrap.sh on macs.
Ideally, specifying a prefix on which you have write permissions should be
enough. but, java and python modules get written in the same location that java
and python installations exist. for that we need sudo. we can get a full
installation of thrift on a local directory by running make install after
specifying the appropriate DESTDIR, PY_PREFIX and JAVA_PREFIX env variables.
> 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
>
> Attachments: HIVE-187.1.patch, thrift_home_linux_32.tgz,
> thrift_home_linux_64.tgz, unixODBC-2.2.14.tgz
>
>
> 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.