【问题标题】:DBLink from Oracle to Cassandra从 Oracle 到 Cassandra 的 DBLink
【发布时间】:2018-07-12 07:26:00
【问题描述】:

出于培训目的,我正在尝试在 Oracle 12c 和 Cassandra 3.9.0 之间创建一个 DBLink,两者都安装在本地计算机上。

为此,我执行了link 中描述的步骤。 不幸的是,最后我完成了错误消息:

ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Unable to retrieve columns for table [LOCAL]. {42000,NativeErr = -1}
ORA-02063: preceding 2 lines from TO_CASSANDRA
28500. 00000 -  "connection from ORACLE to a non-Oracle system returned this message:"
*Cause:    The cause is explained in the forwarded message.
*Action:   See the non-Oracle system's documentation of the forwarded
           message.

请给我一些关于我做错了什么的提示吗?

谢谢,

【问题讨论】:

    标签: oracle cassandra dblink


    【解决方案1】:

    解决方案比我预期的要容易。 当我收到错误时,我使用了以下语句:

    SELECT * from emp@mycassandradb WHERE empid = 1;

    ...为了解决这个问题,我使用了:

    SELECT * from "emp"@mycassandradb WHERE "empid" = 1;

    希望对其他人有所帮助,

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多