Comments (8)
I'm not able to reproduce this error in my tests on CentOS. Can you paste the code you're using to connect and disconnect (with credentials redacted)? Thanks.
from implyr.
Code Ran:
library(odbc) # Version 1.1.5
library(dplyr) # Version 0.7.4
library(implyr) # Version 0.2.2
drv <- odbc::odbc()
imp <- src_impala(drv = drv, driver = "Cloudera ODBC Driver for Impala", host = "IP", port = 21050, database = "DB")
df <- dbGetQuery(imp, "select * from DB.TABLE")
dbDisconnect(imp)
Error Received:
Error: type must be a single element of type 'character'
System Info:
$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.9 (Final)
Release: 6.9
Codename: Final
from implyr.
This looks like a method dispatch error. implyr passes along the dbDisconnect()
call to the underlying connection in imp$con
but it looks like something might be going wrong there. Does the error go away if you do: dbDisconnect(imp$con)
?
from implyr.
I am still recieveing the same error with the dbDisconnect(imp$con) line.
from implyr.
This is mystifying me. Can you run traceback()
immediately after the error occurs and paste the output here? That should help me to understand which function in which package is throwing the error. Thanks.
from implyr.
I was finally able to reproduce this error. I'll work on resolving it as soon as I can.
from implyr.
This is fixed in the version of implyr on GitHub (67ba460).
Can you install the development version of implyr from GitHub to see if this solves the problem for you?
devtools::install_github("ianmcook/implyr")
I will include this fix in the next CRAN release of implyr.
from implyr.
This is fixed in implyr version 0.2.3 on CRAN.
from implyr.
Related Issues (20)
- Add Function src_insert HOT 1
- read / write parquet / CSV files HOT 3
- ODBC ERROR: while contacting server - SSL connection HOT 3
- Eliminate uses of compare_tbls() and compare_tbls2() in tests HOT 1
- java.sql.SQLNonTransientConnectionException: [Cloudera][JDBC](10060) Connection has been closed. HOT 2
- Translating expression with extracted entry. HOT 3
- is there character length limit? : nchar(x) < 32700 HOT 7
- Drop db_sql_render method? HOT 3
- dbplyr 2.0.0 breaks implyr HOT 4
- copy_to dimension limit HOT 2
- Warning: "object '.__C__impala_connection' not found" when initializien impala connection HOT 2
- Write to external table in non-default location?
- Greater than 1024 rows of some variable types causes an encoding error HOT 1
- Dbplyr joins fail with default suffixes
- compute fails
- Two joins in a row fail
- compatibility with box::use HOT 1
- Support dbplyr edition 2
- Issues integrating with dbplyr 2.4.0 HOT 1
- dbplyr 2.5.0 error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from implyr.