在Excel 2013

时间:2017-02-06 20:57:08

标签: excel hadoop hive odbc hortonworks-data-platform

我正在尝试通过Excel 2013中的ODBC驱动程序查询Hortonworks Hive。

我在这里下载了驱动程序(32位):

http://hortonworks.com/downloads/

Hortonworks 2.5 Hive 2.5.0.0-1245

然后我在ODBC数据源管理器(32位)中添加配置

enter image description here

enter image description here

一切似乎都很好。

然后当我进入Excel 2013构建查询时:

enter image description here

enter image description here

我收到了这个错误:

enter image description here

任何人都知道为什么?

1 个答案:

答案 0 :(得分:0)

问题是来自Hortonworks的Hive驱动程序。出于某种原因,它与Excel或Power BI不兼容。

我从https://www.microsoft.com/en-us/download/details.aspx?id=40886下载了Microsoft Hive ODBC,一切正常。创建用户DSN时,请务必选择#include <iostream> using namespace std; int main() { auto j,h,n,m,k; auto j = 19; auto h = 12; auto &n = j; auto *m = &h; auto *k = h; cout << "j=" <<j <<"\n"; cout << "h=" << h <<"\n"; cout << "n= " << &n << endl; cout << "m= " << &h << endl; cout << "k= " << *k << "\n"; return 0; } 而不是SASL