Replies: 2 comments 5 replies
-
Thanks for the great feedback here @boshek ! I'm very excited for the future of Let me dig in a bit with the dev team to see if there's an area of the IDE we're being too "eager" in evaluating |
Beta Was this translation helpful? Give feedback.
1 reply
-
@jthomasmock - just wondering if this discussion has gone anywhere. I've been using ibis a bunch lately but having to choose between positron and |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 thank you for working on positron. what a lovely development.
I've been using ibis with positron and have noticed an issue that I wanted to raise.
ibis is a bit like dbplyr for R in that it is an expressive data frame library with the capacity to use the same syntax across different backends. It is also similar to dbplyr in that you build up your query lazily without evaluating it. That part is done explicitly (
execute
: ibis;collect
: dbplyr).What I am noticing in positron is that when operating interactively with ibis, positron will eagerly fetch results (i suspect for the data explorer or variable views possibly via a
repr
called somewhere?). This negates one of the key advantages of the whole "lazily executed" query, especially when building up a complex query because that eager fetch will take quite a bit of time making interactive work much less useful.This is reproduced on version 2024.09.0-1. A good way to see this is run this in a vscode notebook and then run the same notebook in positron. The chunk of code that creates the query below executes much more quickly in vscode. If one comments out this line
ibis.options.interactive = True
, it appears as thoughrepr
remains fast. However running ibis in interactive mode is definitely the optimal development experience hence reporting this for positron.reprex
Beta Was this translation helpful? Give feedback.
All reactions