我在试着把R-Server连接到雅典娜。但是不能这样做。我从这里开始就遵循了这个指南:https://www.r-bloggers.com/interacting-with-amazon-athena-from-r/
在运行代码时:
URL <- 'https://s3.amazonaws.com/athena-downloads/drivers/AthenaJDBC41-1.0.0.jar'
fil <- basename(URL)
if (!file.exists(fil)) download.file(URL, fil,method="curl",mode="wb")
library(RJDBC)
library(dplyr)
library(rJava)
drv <- JDBC(driverClass="com.amazonaws.athena.jdbc.AthenaDriver", fil, identifier.quote="'")我遇到了这个错误
Error in .jfindClass(as.character(driverClass)[1]) : class not found我也提到了Stackoverflow上发布的关于这个问题的前一个问题,但它没有帮助。任何帮助都将不胜感激。
提前感谢。
发布于 2019-10-08 18:08:12
https://stackoverflow.com/questions/58268881
复制相似问题