-
Notifications
You must be signed in to change notification settings - Fork 6k
expression: JSON_SCHEMA_VALID() #52780
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 all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2fd5ce3
expression: JSON_SCHEMA_VALID()
dveeden cf70c8d
Add deps to Bazel
dveeden c967c7a
Fix duplicate import
dveeden 08206dc
Tidy go mods
dveeden d4b571b
Update tests
dveeden 7102e6e
Add tests and handling of NULLs
dveeden ebd7afb
Add result for expression/json test
dveeden f9f82e7
Add test for JSON_SCHEMA_VALID with pattern
dveeden 6d51db8
Mark JSON_SCHEMA_VALID as Boolean Function
dveeden 5089ea2
Updates
dveeden cd48101
Merge remote-tracking branch 'upstream/master' into jsonSchemaValid
dveeden 3c00ec0
Update based on review
dveeden c5c2feb
Use builtinFuncCache for static JSON schema
dveeden ea9a759
Merge remote-tracking branch 'upstream/master' into jsonSchemaValid
dveeden fd97bb2
Merge remote-tracking branch 'upstream/master' into jsonSchemaValid
dveeden d87f556
Add TestJSONSchemaValidCache
dveeden 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6270,6 +6270,32 @@ def go_deps(): | |
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/prometheus/prometheus/com_github_prometheus_prometheus-v0.50.1.zip", | ||
], | ||
) | ||
go_repository( | ||
name = "com_github_qri_io_jsonpointer", | ||
build_file_proto_mode = "disable_global", | ||
importpath = "github.com/qri-io/jsonpointer", | ||
sha256 = "6870d4b9fc5ac8efb9226447975fecfb07241133e23c7e661f5aac1a3088f338", | ||
strip_prefix = "github.com/qri-io/[email protected]", | ||
urls = [ | ||
"http://bazel-cache.pingcap.net:8080/gomod/github.com/qri-io/jsonpointer/com_github_qri_io_jsonpointer-v0.1.1.zip", | ||
"http://ats.apps.svc/gomod/github.com/qri-io/jsonpointer/com_github_qri_io_jsonpointer-v0.1.1.zip", | ||
"https://cache.hawkingrei.com/gomod/github.com/qri-io/jsonpointer/com_github_qri_io_jsonpointer-v0.1.1.zip", | ||
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/qri-io/jsonpointer/com_github_qri_io_jsonpointer-v0.1.1.zip", | ||
], | ||
) | ||
go_repository( | ||
name = "com_github_qri_io_jsonschema", | ||
build_file_proto_mode = "disable_global", | ||
importpath = "github.com/qri-io/jsonschema", | ||
sha256 = "51305cc45fd383b24de94e2eb421ffba8d83679520c18348842c4255025c5940", | ||
strip_prefix = "github.com/qri-io/[email protected]", | ||
urls = [ | ||
"http://bazel-cache.pingcap.net:8080/gomod/github.com/qri-io/jsonschema/com_github_qri_io_jsonschema-v0.2.1.zip", | ||
"http://ats.apps.svc/gomod/github.com/qri-io/jsonschema/com_github_qri_io_jsonschema-v0.2.1.zip", | ||
"https://cache.hawkingrei.com/gomod/github.com/qri-io/jsonschema/com_github_qri_io_jsonschema-v0.2.1.zip", | ||
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/qri-io/jsonschema/com_github_qri_io_jsonschema-v0.2.1.zip", | ||
], | ||
) | ||
go_repository( | ||
name = "com_github_quasilyte_go_ruleguard", | ||
build_file_proto_mode = "disable_global", | ||
|
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
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
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.
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.