由于某些未知的ODBC错误,r无法读取EXASOL数据库。有没有人遇到过类似的例子。Mac OS出现问题。
我已经为Mac OS安装了ODBC驱动程序。
library(exasol)
library(RODBC)
con <- dbConnect("exasol", **)
# removed the connection credentials
df1 <- dbGetQuery(con,paste("query", sep=""))
# removed the query
Error in try(.Call(C_asyncRODBCQueryFinish, slot, 1)) :
Unknown ODBC error
Error in exa.readData(conn, statement, ...) :
Could not allocate SQLAllocHandle (-2)
Error in exa.readData(conn, statement, ...) : Unknown ODBC error这个问题目前在这里没有答案,https://github.com/exasol/r-exasol/issues/32。
发布于 2019-09-13 23:59:55
您能详细介绍一下您使用的工具/驱动程序/组件吗?版本号之类的?
我有一些模糊的记忆,当我尝试使用unixodbc时看到了相同的(或非常相似的错误消息)。我不得不删除它并使用libiodbc。在您的案例中,这可能是问题的根源?
https://stackoverflow.com/questions/56672369
复制相似问题