pyprql icon indicating copy to clipboard operation
pyprql copied to clipboard

`magic_duckdb` based magic?

Open eitsupi opened this issue 2 years ago • 4 comments
trafficstars

In combination with DuckDB, it seems that magic_duckdb may provide better performance than jupysql. https://github.com/iqmo-org/magic_duckdb

eitsupi avatar May 22 '23 14:05 eitsupi

Yes, looks interesting. I'm not sure whether it's sufficiently mature or not — I notice it's new and has unfinished sentences on the Readme :) (all tools start somewhere!).

The perf does look much better though, I'm surprised the existing approach has so much overhead

max-sixty avatar May 22 '23 20:05 max-sixty

jupysql is really amazing. This performance issue should be solved...

ploomber/jupysql#470 https://twitter.com/ploomber/status/1661824499224915970 https://github.com/ploomber/jupysql/blob/master/CHANGELOG.md

0.7.5 (2023-05-24) [Feature] Using native DuckDB .df() method when using autopandas

eitsupi avatar May 29 '23 10:05 eitsupi

yes, we fixed the performance issue when %autopandas is turned on. And we just started working on https://github.com/ploomber/jupysql/issues/470 to provide further improvements.

If you encounter any performance issues, let us know and we'll fix them!

edublancas avatar May 29 '23 16:05 edublancas

Thank you @edublancas !

max-sixty avatar May 30 '23 17:05 max-sixty