ibis-framework: How to connect to Impala using ODBC / DSN? - odbc

I would like to use the Python library ibis (ibis-framework) to run queries against an Impala backend. When I use pyodbc to connect to Impala, I use the DSN:
con_odbc = pyodbc.connect("DSN=my_dsn_name", autocommit=True)
Unfortunately, I have not managed to use ODBC and the DSN to connect using ibis.
Is this possible, and if yes, how?

Related

Progress Data Direct

We are having cloudera impala as data source. It is required to build a new custom ODBC driver (we need to
use our custom rest API,code logic in the new obdc driver) to read data from impala.
That custom obdc driver needs to be recognised by tableau as custom driver for impala connectivity.
As we are totally new to driver porgramming, we need guidance in the following
How to build odbc driver for impala?
How to make tableau recognise the custom build driver?
Exafluence

How to use ODBC to connect to any DBMS

I'm developping a java application and i'm using JDBC to connect to MySQL Database, now i want to use ODBC to be able to get and retrieve data from any DBMS, of course if have access to it. Is there an API or tool to do this ?
What you are looking for is a JDBC-ODBC bridge. There are several available. It is not recommended, instead you should always use a native JDBC driver.

Connecting cassandra to Tableau Software

I want to connect Tableau software to my cassandra database. Note that i'm using tableau in windows7 and cassandra in ubuntu (Virtual machine).
For this i've installed the Cassandra ODBC (and Simba cassandra ODBC but i got the same problem). I got a connexion succes and i found my keyspace but not my tables !!!!!!
But no table in "cim" keyspace !!
Note that in my keyspace "cim" i have 3 tables that i can request with any problem in cassandra. Is there something i should do before creating the ODBC driver ???
Thank you for your help
The ODBC driver as it stands currently uses thrift so won't be able to communicate directly with cql3 to display the table names. Describe commands also won't work. However, you should still be able to select data from your tables. Updates to the ODBC driver should provide cql3 support at some point in the new year.
Update Simba ODBC driver for Cassandra supports CQL3 and solves your problem.
http://www.simba.com/connectors/apache-cassandra-odbc

Using dplyr to connect to SSL-encrypted remote database

I would like to use the dplyr package in R but to connect to a remote database that is SSL-encrypted. How do I set up a workaround here? I'm thinking of setting up a backend that uses the RODBC package. Is this possible?
Actually you can connect to a an SSL-encrypted connection with dplyr and it's easy.
You just need to pass the parameters for your connection within the dbname parameter, like this (this is a postgresql example):
db <- src_postgres(dbname="dbname=my_db sslcert=my_cert.crt sslkey=my_key.key sslmode=require", user="username", host="your.host.com")

OBIEE connect to impala

I'm trying to connect OBIEE to Impala. Where I try my test, I encounter a problem that I can't
resolved,here comes my steps:
download the Cloudera latest Impala ODBC driver for windows,and import metadata from impala,I can finally successfully see data in Admin Tools like this:
upload the rpd file to the server,and download cloudera impala odbc driver for linux,and configure it,in the end ,I can do it like this which shows I have configure the driver successfully:
I try to create new analysis through 【Create Direct Database Request】 to test weather I can successfully connect Impala, but I can never connect it due to the reason like this,I can never fingure out why:
Is there anybody successfully do it or tell me how I can resolve the problem? Thanks!
I recommend connecting directly to Hive instead. According to Oracle's documentation Impala connectivity is not directly supported. OBIEE is built connect to Hive and Impala is not referenced:
http://docs.oracle.com/cd/E28280_01/bi.1111/e10540/deploy_rpd.htm#BABGIAJH

Resources