Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store package names in arrow metadata #122

Merged
merged 22 commits into from
Oct 23, 2024
Merged

Conversation

ericphanson
Copy link
Member

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.

src/tables.jl Outdated Show resolved Hide resolved
src/schemas.jl Outdated Show resolved Hide resolved
src/schemas.jl Outdated Show resolved Hide resolved
Project.toml Outdated Show resolved Hide resolved
Project.toml Outdated Show resolved Hide resolved
@ericphanson
Copy link
Member Author

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
Copy link
Member

omus commented Aug 29, 2024

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

Project.toml Show resolved Hide resolved
src/schemas.jl Outdated Show resolved Hide resolved
src/schemas.jl Outdated Show resolved Hide resolved
src/schemas.jl Show resolved Hide resolved
src/tables.jl Outdated Show resolved Hide resolved
test/runtests.jl Show resolved Hide resolved
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
Copy link
Member

@omus omus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor code suggestions. Please bump the version to 0.5.22

test/runtests.jl Show resolved Hide resolved
src/schemas.jl Show resolved Hide resolved
src/tables.jl Outdated Show resolved Hide resolved
Copy link
Member

@kleinschmidt kleinschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly agree with @omus review and have left comments where I don't. needs a version bump.

test/runtests.jl Show resolved Hide resolved
src/schemas.jl Show resolved Hide resolved
src/tables.jl Outdated Show resolved Hide resolved
@ericphanson
Copy link
Member Author

sorry for the delay, I think I've addressed all the review feedback. I'll plan to merge in a day or two if there's no more review changes.

src/schemas.jl Outdated Show resolved Hide resolved
src/schemas.jl Outdated Show resolved Hide resolved
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
@ericphanson ericphanson merged commit 3e1f958 into main Oct 23, 2024
6 checks passed
@ericphanson ericphanson deleted the eph/46-informative-errors branch October 23, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: include package name or package url in arrow metadata
3 participants