Julia crashes with Queryverse any time there is a typo in the variable name

Viewed 63

I'm new to Julia (from R). Using V1.7.1 in VScode notebooks. The following code crashes Julia and requires a restart, rather than just reporting and error:

using Queryverse
using DataFramesMeta
df = DataFrame(Name = ["Jon","Adam","Harry"],
               Age = [42,40,41] )
df |> @filter(_.age > 40)

The error is that 'age' in the filter command should be Age. However, it's common to make these mistakes, and I don't want to have to restart every time I do. Is there a workaround, or is this to do with VScode?

1 Answers

At the time of writing this appears to be a bug in the (relatively new) native Jupyter support of the Julia VSCode extension.

I've filed an issue here and will update this answer if the problem gets resolved.

Related