-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: CustomItemSerializer not applied correctly in queries and SqlParameter [Cosmos] #48702
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
Open
xinlian12
wants to merge
21
commits into
Azure:main
Choose a base branch
from
xinlian12:fix/issue-45521-custom-item-serializer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3b9e343
fix: ensure CustomItemSerializer is not applied to internal query pip…
4416d2c
fix: address review iteration 1 initialize rawValue in ObjectNode co…
0e8063f
fix: clone SqlQuerySpec before applying serializer to prevent race co…
6a6f761
chore: add reevaluation output for F2 finding
2a295c2
fix: address PR review forceSerialization, remove ModelBridgeInterna…
288394b
test: add coverage for CustomItemSerializer with ORDER BY, GROUP BY, …
d611c33
fix: guard SqlParameter.applySerializer against unimplemented seriali…
0f6b3e7
fix: use clientSerializer instead of hardcoded EnvelopWrappingItemSer…
xinlian12 9e625dc
remove coding agent related files
xinlian12 1094dab
add changelog
xinlian12 f5e9d68
fix: guard resolveTestNameSuffix against empty row for tests without …
xinlian12 5b407c8
fix: use DEFAULT_SERIALIZER for aggregate/distinct/groupby query tests
xinlian12 20bd377
fix: use Integer.class for SELECT VALUE COUNT aggregate serializer test
xinlian12 ebf58cb
feat: add BasicCustomItemSerializer for query tests (issue #45521)
xinlian12 73b65c4
Skip query tests for envelope-wrapping serializer instead of falling …
xinlian12 8337dcd
merge from main and resolve conflicts
xinlian12 e67ecb5
fix: use SELECT COUNT(1) instead of SELECT VALUE COUNT(1) in aggregat…
xinlian12 d606e3c
test: add SqlParameter datetime test with custom serializer
xinlian12 8e79785
fix: handle scalar values in BasicCustomItemSerializer.serialize()
xinlian12 7f5a961
fix: narrow exception handling in SqlParameter.applySerializer()
xinlian12 b34ee44
fix: preserve original Java type when cloning SqlParameter values
xinlian12 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
368 changes: 357 additions & 11 deletions
368
sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/CosmosItemSerializerTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
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.