无法使用Simba ODBC Driver从SAS连接到Google Bigquery。 操作系统:Linux
ODBC.INI
[GoogleBQ]
Driver=<path for googlebigqueryodbc_sb64.so file path>
Description=Simba ODBC Driver for Google BigQuery (64-bit) DSN
Catalog=npower-qa
OAuthMechanism=0
Email=<service -accoun@project.iam.gserviceaccount.com
LogonID=
Password=
TrustedCerts=<Path for cacerts.pem>
RefreshToken= < Token >
SQLDialect=1
KeyFilePath=<file path for .p12 file >
AllowLargeResults=0
ProxyHost=<proxy ip>
ProxyPort=<proxy port>
用于测试ODBC连接的Linux命令:
$ isql -v GoogleBQ
错误:
[S1000] [unixODBC] [Simba] [DSI]尝试检索密钥&#39; NoSQLGetPrivateProfileString&#39;的错误消息时发生错误。和组件ID 1:
无法打开错误消息文件 - 请检查&#34; / shared / SAS / simba / googlebigqueryodbc / lib / 64 / $(INSTALLDIR)/ErrorMessages/en-US/ODBCMessages.xml"或&#34; / shared / SAS / simba / googlebigqueryodbc / lib / 64 / $(INSTALLDIR)/ErrorMessages/ODBCMessages_en-US.xml"存在并且可以访问。