我正在 R 中运行一个简单的 sql 查询(使用 Rstudio)。连接使用 Presto 驱动程序。
我可以毫无问题地运行一个简单的查询
Select count(*) from schema.mytable
。但是,当我尝试运行Select * from schema.mytable
时,我收到以下错误
df_zdld001 <- dbGetQuery(conn, input_sql)
Error in .jcall(rp, "I", "fetch", stride, block) :
java.sql.SQLException: Value is not a number: java.lang.String
如何解决这个问题?