Comments (3)
Thanks for asking about this. Cancelling queries is a tricky problem because of how the stack of packages that support implyr works. The odbc package, for example, runs C++ code that can't or doesn't check for interrupts from R.
There are possible workarounds for this, for example, we could implement an alternative version of the collect()
function that would work asynchronously and would check often for interrupts or cancel commands.
Do these long waits typically happen after you've executed a collect()
command? Or in some other situation?
from implyr.
It depends. It does often happen after I sent a collect()
, but also , when I work with a remote tbl, want to see the output of some sql-transformations and underestimated the time the computation of the preview takes. ;-)
I would guess that both cases happen about equally often. (Though for the second one, I could also try to develop on much smaller subset more often.)
from implyr.
I think something similar has been implemented for sparklyr recently: https://blog.rstudio.com/2018/10/01/sparklyr-0-9/
from implyr.
Related Issues (20)
- use spark with tbl() returned object HOT 7
- Add function src_databases() HOT 2
- dplyr verbs fail on functions with dots in names when no column name is assigned HOT 1
- Fix literal string arguments in paste() HOT 1
- 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
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.