beacon-biosignals / Legolas.jl

Tables.jl-friendly mechanisms for constructing, reading, writing, and validating Arrow tables against extensible, versioned, user-specified schemas.
Other
24 stars 2 forks source link

Store package names in arrow metadata #122

Open ericphanson opened 1 month ago

ericphanson commented 1 month ago

for more informative unknown schema errors

closes #46

Here I chose to only store this information when the schema was defined in a package (rather than in Main or in a script or something), since it's only in that case we can reliably make a suggestion to load that package.

ericphanson commented 1 month ago

good call @kleinschmidt, I've switched this to use the schema-version instead of the schema name (defined in the @version call rather than the @schema call)

omus commented 1 month ago

@ericphanson you probably also want to include the version of the package as well since older or newer versions may be incompatible.