简体   繁体   English

SSIS 和 BigQuery(Simba ODBC 驱动程序) - 可以看到列名但没有数据

[英]SSIS and BigQuery (Simba ODBC Driver) - Can See Column Names but No Data

I downloaded both the Windows 32-bit and Windows 64-bit Simba ODBC drivers for BigQuery ( https://cloud.google.com/bigquery/docs/reference/odbc-jdbc-drivers ). I downloaded both the Windows 32-bit and Windows 64-bit Simba ODBC drivers for BigQuery ( https://cloud.google.com/bigquery/docs/reference/odbc-jdbc-drivers ). I then set up a DSN for each of them, which I am using in an SSIS package to pull data from BigQuery (set up as an ODBC source in SSIS).然后我为它们中的每一个设置一个 DSN,我在 SSIS package 中使用它来从 BigQuery 中提取数据(在 SSIS 中设置为 ODBC 源)。

I have tested the connection in both the DSN setup and the SSIS ODBC source setup, and both said they connected successfully.我已经在 DSN 设置和 SSIS ODBC 源设置中测试了连接,并且都表示它们连接成功。 However, when I try to preview the data in a table in my ODBC source, I can only see the column names in the table and no data at all, even though I'm told there is data in it.但是,当我尝试在 ODBC 源中预览表中的数据时,我只能看到表中的列名而根本看不到数据,即使我被告知其中有数据。

Column Names with No Data in Preview预览中没有数据的列名

I also tried doing a test run and dumping the data to a flat file to see if the Preview was the only issue, but there was again no data.我还尝试进行测试运行并将数据转储到平面文件中,以查看预览是否是唯一的问题,但仍然没有数据。

I am logging errors from DSN and see these three errors when I try to query the data:我正在记录来自 DSN 的错误,并在尝试查询数据时看到以下三个错误:

ERROR 6764 Simba::ODBC::Connection::SQLGetInfoW: [Simba][ODBC] (11180) SQLGetInfo property not found: 1750
ERROR 6764 Simba::ODBC::Statement::SQLSetStmtAttrW: [Simba][ODBC] (10210) Attribute identifier invalid or not supported: 1228
ERROR 6764 Simba::ODBC::Statement::SQLSetStmtAttrW: [Simba][ODBC] (10210) Attribute identifier invalid or not supported: 1227

Any idea what's going on?知道发生了什么吗? I haven't found much helpful info online.我在网上没有找到太多有用的信息。 Thanks.谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM