-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I'm trying to use vegafusion in a Rust project. I'm using tokio to spawn a ipykernel (basically just using python -m ipykernel_launcher with the right flags), from within a virtualenv.
Now in that ipykernel, I have installed altair using vegafusion as a data-transformer. It all works well, except when it comes to a particular dataset. Vegafusion simply crashes when trying to do one of: chart.to_json(format="vega") or vf.save_vega(chart, file="spec.json") with this dataset.
- It works with vegafusion with the exact same code when not using ipykernel
- It works without vegafusion using ipykernel
fwiw, since #506 logs internal rust logs in my setup, I can see that the last thing it logs is:
[2024-09-19T18:39:46Z DEBUG deno_runtime::worker] received module evaluate Ok(
(),
)
[2024-09-19T18:39:46Z DEBUG datafusion_functions_array] Overwrite existing UDF: array_to_string
Normally it goes on to show logs from the sql_optimizer, etc
You can check out the dataset here: trimmed-dataset.csv
Metadata
Metadata
Assignees
Labels
No labels