oracle 12c db链接到配置单元

py49o6xq  于 2021-06-26  发布在  Hive
关注(0)|答案(0)|浏览(203)

在介绍如何使用odbc异构网关从oracle查询hive和impala之后,我创建了一个到hive的数据库链接。

select count(*) from customers@HIVEDSN;

isql工作正常,但在sql*中,我得到一个错误:

ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[

以下是跟踪日志:

--------------------------------------------
Entered hgopoer at 2017/05/19-03:08:29
hgopoer, line 240: got native error 10210 and sqlstate H; message follows...
[
Exiting hgopoer, rc=0 at 2017/05/19-03:08:29
hgolgon, line 202: calling SQLSetConnectAttr got sqlstate H
Exiting hgolgon, rc=28500 at 2017/05/19-03:08:29 with error ptr FILE:hgolgon.c LINE:202 ID:Connection Attribute: TRACE
hostmstr:          0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题