Quantcast
Channel: Hortonworks » All Topics
Viewing all articles
Browse latest Browse all 5121

Executing queries on the default database using the HortonWorks ODBC driver

$
0
0

Replies: 5

I have successfully configured an ODBC DSN.
The ODBC DSN connection is configured with Database as: default
There are no settings enabled on the Advanced tab. All options are “off”.
The authentication is Hive System 2, User Hue

Test connection returns these results:
————————————–

Driver Version: V1.4.5.1005

Running connectivity tests…

Attempting connection
Connection established
Disconnecting from server

TESTS COMPLETED SUCCESSFULLY!
————————————–

This query executes successfully and returns results:
select * from hive_system.hive_system

This query fails:
select * from sample_07

The error message is: SELECT Failed. 35: ‘.

Qualifying the query provides no relief:
select * from default.sample_07
or
select * from default.sample_07

The error message for both tries is the same: [Hortonworks][SQLEngine] (31740) Table or view not found: HIVE..default.sample_07

When I browse to /tmp/hue I see a zero byte .pipeout file generated at the exact time the query is executed.

Where are ODBC driver return codes documented? Where is a meaningful log to be found that enables one to troubleshoot this? How does someone author a query that works against the sample_07 in database “default”?


Viewing all articles
Browse latest Browse all 5121

Trending Articles