-
Notifications
You must be signed in to change notification settings - Fork 25
feat: enable handling of URNs alongside URIs #166
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
Merged
Merged
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
522383a
Bump substrait version
benbellick c08a435
parse urn from file and throw error if missing
benbellick 4877706
validate URN format
benbellick 81e3cbb
fix tests by adding urn to all simple extensions
benbellick 1a07238
add test to ensure URNs correctly required and format validated
benbellick 87bcf93
Full URI -> URN migration
benbellick a409b51
ensure no duplicate URI/URN + test
benbellick a1396c7
Use bimap to encapsulate mapping between uri and urn
benbellick 09b5d9a
on parse, resolve by URN then URI
benbellick a4f1a1a
alter ToProto method to generate both URIs AND URNs
benbellick 2e1f08b
Add test to ensure both URI and URN captured in ToProto
benbellick 7ce2347
fix broken tests by adding URI info to produced plans
benbellick 69b4f2b
add one more test to ensure that plans w/ only uri vs urn are equivalent
benbellick c9e23b4
small cleanup of error handling
benbellick 9869bdc
Add in a few more tests just to be safe
benbellick b03fdb1
Fix golangci-lint issues
benbellick 72716ca
fix pr comments
benbellick 9bf79bf
remove public Collection() function on ExtensionRegistry
benbellick 27a7cc5
Improve uri/urn resolution strategy
benbellick 0d5610e
compare ToProto result directly in tests
benbellick ac9cf33
Add tests to test full conditions of uri/urn resolution
benbellick c6bdd57
fix typo in error message: uri -> urn
benbellick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.