-
Notifications
You must be signed in to change notification settings - Fork 113
feat(schema): represent, serialize and validate v3 column default values (1/4) #746
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 14 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f663e0e
feat(schema): represent, serialize and validate v3 column default values
huan233usc 511d9c8
test: remove unused TableMetadataV3Valid.json resource
huan233usc 9690529
test(json_serde): cover default-value serde in json_serde_test
huan233usc fe3b348
Merge remote-tracking branch 'upstream/main' into feat/default-values…
huan233usc d15a0fe
test(json_serde): fix clang-format in default-value tests
huan233usc 180a9f9
fix(schema): align v3 default-value validation/serde with spec and Java
huan233usc 2052e4f
chore: drop accidentally committed build-rest-tests.sh
huan233usc 54d9636
test(temporal): add unit test for TemporalUtils::IsUtcOffset
huan233usc 925611a
ci: re-trigger CI
huan233usc 0b4d452
fix(schema): address review nits on default-value validation/serde
huan233usc b252b72
refactor(serde): return Result from ToJson for schema/type/metadata s…
huan233usc 36a76ca
refactor(serde): avoid duplicate macro for fallible REST ToJson
huan233usc 7f49ebc
refactor(serde): declare fallible REST ToJson inline
huan233usc 04ee5c6
Merge remote-tracking branch 'upstream/main' into feat/default-values…
huan233usc 0163d35
Merge remote-tracking branch 'upstream/main' into feat/default-values…
huan233usc 26b1f1b
docs: clarify IsUtcOffset accepts Z/+00:00/-00:00; trim default-value…
huan233usc 462d2d9
fix(schema): normalize default value to the field type at construction
huan233usc c58050f
refactor(schema): normalize default values via a fallible SchemaField…
huan233usc 41c2bd1
refactor(schema): consolidate default getters and drop [[nodiscard]]
huan233usc bda2d78
fix(schema): model a null default value as absence
huan233usc 38bbdb0
fix(schema): review follow-ups — lenient float default parse, must-be…
huan233usc 6fe4640
revert: leave expression/json_serde.cc untouched (out of PR scope)
huan233usc 2efca23
revert: keep [[nodiscard]] on pre-existing SchemaField methods
huan233usc 70e029b
feat(schema): clarify error for types that cannot have a default value
huan233usc d022953
refactor(schema): drop unused default-value cast machinery
huan233usc 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.